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.001081/0.001081, allocations: 107.7 kB / 16.92 MB, free: 6.145 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.0009656/0.0009656, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.328/1.328, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 49.89 kB / 300.7 MB, free: 5.738 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08464/0.0857, allocations: 49.44 MB / 350.2 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004725/0.09045, allocations: 3.178 MB / 353.4 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.09221, allocations: 0.7673 MB / 354.1 MB, free: 324 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.09258, allocations: 4 kB / 354.1 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.09289, allocations: 59.38 kB / 354.2 MB, free: 260 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.09329, allocations: 115.1 kB / 354.3 MB, free: 144 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.09372, allocations: 119.8 kB / 354.4 MB, free: 24 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005869/0.09432, allocations: 442.3 kB / 354.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.09461, allocations: 151.8 kB / 355 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.09488, allocations: 167.4 kB / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.09513, allocations: 187.2 kB / 355.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.0952, allocations: 40 kB / 355.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.09528, allocations: 44 kB / 355.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.09536, allocations: 91.69 kB / 355.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.09556, allocations: 195.1 kB / 355.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.09603, allocations: 0.4946 MB / 356.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.09604, allocations: 3.938 kB / 356.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.09605, allocations: 0 / 356.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.09607, allocations: 0 / 356.2 MB, free: 14.23 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.001211/0.09729, allocations: 0.6664 MB / 356.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.09735, allocations: 12.03 kB / 356.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.323e-05/0.09744, allocations: 66.72 kB / 356.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.09754, allocations: 40.47 kB / 357 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.09798, allocations: 303.5 kB / 357.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.09802, allocations: 21.03 kB / 357.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.09808, allocations: 36.38 kB / 357.3 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000708/0.0988, allocations: 349.2 kB / 357.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.09882, allocations: 0 / 357.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.09886, allocations: 15.98 kB / 357.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.09888, allocations: 8 kB / 357.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.09947, allocations: 274.4 kB / 358 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.1015, allocations: 1.268 MB / 359.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/0.1021, allocations: 291.8 kB / 359.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.1023, allocations: 96.81 kB / 359.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1024, allocations: 3.938 kB / 359.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1024, allocations: 34.56 kB / 359.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.1024, allocations: 4 kB / 359.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002134/0.1045, allocations: 0.6355 MB / 360.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.1046, allocations: 51.41 kB / 360.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.1049, allocations: 295 kB / 360.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.105, allocations: 25.7 kB / 360.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.1051, allocations: 219.7 kB / 360.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.1053, allocations: 55.25 kB / 360.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.1053, allocations: 45.7 kB / 361 MB, free: 9.168 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1055, allocations: 334.8 kB / 361.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.1057, allocations: 79.95 kB / 361.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.106, allocations: 166.7 kB / 361.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.1065, allocations: 253.9 kB / 361.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.1065, allocations: 4 kB / 361.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009286/0.1074, allocations: 401.9 kB / 362.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1074, allocations: 12 kB / 362.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.1075, allocations: 7.984 kB / 362.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004057/0.1079, allocations: 96.8 kB / 362.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.108, allocations: 43.91 kB / 362.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.111, allocations: 2.178 MB / 364.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.1112, allocations: 47.64 kB / 364.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.1112, allocations: 19.97 kB / 364.6 MB, free: 5.324 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.0001389/0.1114, allocations: 145.8 kB / 364.7 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.1114, allocations: 23.72 kB / 364.7 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.1115, allocations: 29.91 kB / 364.8 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1115, allocations: 3.938 kB / 364.8 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.1115, allocations: 4 kB / 364.8 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1115, allocations: 4 kB / 364.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.1127, allocations: 0.7168 MB / 365.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1127, allocations: 3.984 kB / 365.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.082e-05/0.1128, allocations: 12 kB / 365.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003228/0.1131, allocations: 112.6 kB / 365.6 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1132, allocations: 4 kB / 365.6 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002846/0.116, allocations: 2.154 MB / 367.8 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.116, allocations: 0 / 367.8 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.1169, allocations: 407.8 kB / 368.2 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.117, allocations: 108.8 kB / 368.3 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.117, allocations: 4 kB / 368.3 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.1172, allocations: 23.98 kB / 368.3 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.1173, allocations: 15.91 kB / 368.3 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1173, allocations: 8 kB / 368.3 MB, free: 1.312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.1176, allocations: 210 kB / 368.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1176, allocations: 0 / 368.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004771/0.1181, allocations: 87.84 kB / 368.6 MB, free: 1.023 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.001219/0.1193, allocations: 0.9508 MB / 369.6 MB, free: 40 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1405/0.2598, allocations: 332.1 kB / 369.9 MB, free: 25.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.2598, allocations: 1.688 kB / 369.9 MB, free: 25.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.2602, allocations: 237.6 kB / 370.1 MB, free: 25.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.2607, allocations: 41.33 kB / 370.2 MB, free: 25.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.2654, allocations: 3.162 MB / 373.3 MB, free: 23.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.2657, allocations: 0.7688 MB / 374.1 MB, free: 23.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.2658, allocations: 29.17 kB / 374.1 MB, free: 23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.2659, allocations: 93.97 kB / 374.2 MB, free: 22.98 MB / 302.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2659, allocations: 0 / 374.2 MB, free: 22.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.2961, allocations: 6.463 MB / 380.7 MB, free: 21.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.21, allocations: 10.66 kB / 380.7 MB, free: 21.95 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