Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001364, allocations: 101.9 kB / 16.5 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 50.73 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1358, allocations: 49.45 MB / 349.5 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00523/0.1411, allocations: 3.216 MB / 352.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1426, allocations: 0.7596 MB / 353.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.1429, allocations: 8 kB / 353.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.1431, allocations: 43.61 kB / 353.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1434, allocations: 99.3 kB / 353.6 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.1437, allocations: 99.92 kB / 353.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004879/0.1442, allocations: 418.2 kB / 354.1 MB, free: 96 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.1445, allocations: 132.4 kB / 354.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.1448, allocations: 147.3 kB / 354.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.145, allocations: 167.2 kB / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.895e-05/0.1451, allocations: 24 kB / 354.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.273e-05/0.1452, allocations: 28 kB / 354.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.1452, allocations: 75.67 kB / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.1454, allocations: 175.1 kB / 354.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.1459, allocations: 482.6 kB / 355.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.1459, allocations: 0 / 355.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.1459, allocations: 0 / 355.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1459, allocations: 3.938 kB / 355.4 MB, free: 14.88 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001244/0.1472, allocations: 0.6767 MB / 356 MB, free: 14.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1472, allocations: 8.031 kB / 356 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.688e-05/0.1473, allocations: 70.72 kB / 356.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.1474, allocations: 36.47 kB / 356.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.1478, allocations: 295.5 kB / 356.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.1479, allocations: 33.03 kB / 356.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/0.1479, allocations: 28.38 kB / 356.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/0.1487, allocations: 357.1 kB / 356.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1487, allocations: 0 / 356.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.1487, allocations: 12 kB / 356.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.1487, allocations: 11.94 kB / 356.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.1494, allocations: 270.5 kB / 357.1 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.1515, allocations: 1.26 MB / 358.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.1522, allocations: 300.4 kB / 358.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.1524, allocations: 96.81 kB / 358.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1524, allocations: 0 / 358.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1525, allocations: 38.56 kB / 358.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.1525, allocations: 4 kB / 358.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002107/0.1546, allocations: 0.6389 MB / 359.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1547, allocations: 51.41 kB / 359.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.155, allocations: 295 kB / 359.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.155, allocations: 29.7 kB / 359.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1552, allocations: 215.7 kB / 360 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.1552, allocations: 51.27 kB / 360.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.1553, allocations: 45.7 kB / 360.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1555, allocations: 342.8 kB / 360.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.1557, allocations: 79.95 kB / 360.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.156, allocations: 158.2 kB / 360.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.1564, allocations: 249.9 kB / 360.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1565, allocations: 4 kB / 360.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009376/0.1574, allocations: 412.2 kB / 361.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1574, allocations: 15.94 kB / 361.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1575, allocations: 4 kB / 361.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004569/0.1579, allocations: 108.8 kB / 361.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1581, allocations: 35.98 kB / 361.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/0.1613, allocations: 1.956 MB / 363.5 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.1615, allocations: 47.52 kB / 363.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.1616, allocations: 12 kB / 363.5 MB, free: 6.199 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.1618, allocations: 149.8 kB / 363.7 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.1619, allocations: 23.72 kB / 363.7 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.162, allocations: 29.91 kB / 363.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.162, allocations: 0 / 363.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.162, allocations: 0 / 363.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.162, allocations: 3.938 kB / 363.7 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.1634, allocations: 0.7294 MB / 364.5 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1634, allocations: 4 kB / 364.5 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.1635, allocations: 11.94 kB / 364.5 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/0.1639, allocations: 100.8 kB / 364.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.1639, allocations: 4 kB / 364.6 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00288/0.1668, allocations: 1.948 MB / 366.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.1669, allocations: 8.016 kB / 366.5 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009236/0.1678, allocations: 411.7 kB / 366.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1679, allocations: 108.8 kB / 367 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.168, allocations: 8 kB / 367 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.1682, allocations: 19.98 kB / 367.1 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.1683, allocations: 11.98 kB / 367.1 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1683, allocations: 4 kB / 367.1 MB, free: 2.395 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002698/0.1686, allocations: 210 kB / 367.3 MB, free: 2.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.424e-06/0.1686, allocations: 0 / 367.3 MB, free: 2.191 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005689/0.1692, allocations: 87.78 kB / 367.4 MB, free: 2.105 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001514/0.1707, allocations: 0.9576 MB / 368.3 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008552/0.1716, allocations: 334.5 kB / 368.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1716, allocations: 0 / 368.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.172, allocations: 235.1 kB / 368.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.1725, allocations: 42.81 kB / 368.9 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2482/0.4208, allocations: 3.274 MB / 372.2 MB, free: 24.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.4211, allocations: 0.7672 MB / 373 MB, free: 23.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.4213, allocations: 25.81 kB / 373 MB, free: 23.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.4214, allocations: 97.86 kB / 373.1 MB, free: 23.32 MB / 302.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4214, allocations: 1.75 kB / 373.1 MB, free: 23.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.4441, allocations: 6.121 MB / 379.2 MB, free: 22.65 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/0.4444, allocations: 236.6 kB / 379.4 MB, free: 22.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/2.677, allocations: 4 kB / 379.4 MB, free: 22.39 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches