Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 113.9 kB / 17.69 MB, free: 5.305 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.001839/0.001839, allocations: 191 kB / 18.63 MB, free: 4.375 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.408/1.408, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.00194, allocations: 47.8 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1025, allocations: 49.45 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004383/0.1069, allocations: 2.849 MB / 354.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1081, allocations: 0.7246 MB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1082, allocations: 4 kB / 355.1 MB, free: 100 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.1084, allocations: 43.52 kB / 355.1 MB, free: 56 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1086, allocations: 99.17 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1089, allocations: 111.8 kB / 355.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.1093, allocations: 394.5 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.1095, allocations: 131.2 kB / 355.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.1097, allocations: 155.4 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.1099, allocations: 167.2 kB / 356.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.1099, allocations: 36 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.607e-05/0.11, allocations: 40 kB / 356.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.1101, allocations: 79.69 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.1103, allocations: 167.1 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.1106, allocations: 422.6 kB / 356.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1106, allocations: 0 / 356.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1106, allocations: 8 kB / 356.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1106, allocations: 0 / 356.9 MB, free: 14.27 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001182/0.1118, allocations: 0.6603 MB / 357.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1119, allocations: 15.89 kB / 357.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.112, allocations: 32.56 kB / 357.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.1123, allocations: 288.7 kB / 357.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1124, allocations: 16.94 kB / 357.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.1124, allocations: 32.27 kB / 358 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.1131, allocations: 320 kB / 358.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1131, allocations: 0 / 358.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.1131, allocations: 8 kB / 358.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1131, allocations: 11.94 kB / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000723/0.1138, allocations: 274 kB / 358.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.1157, allocations: 1.165 MB / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008187/0.1165, allocations: 246.6 kB / 360 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.1169, allocations: 100.8 kB / 360.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1169, allocations: 3.984 kB / 360.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004384/0.1173, allocations: 172.9 kB / 360.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.1174, allocations: 0 / 360.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.00219/0.1195, allocations: 0.5927 MB / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.1196, allocations: 85.05 kB / 360.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.12, allocations: 258.6 kB / 361.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.12, allocations: 37.64 kB / 361.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1202, allocations: 199.5 kB / 361.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.1203, allocations: 35.53 kB / 361.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.1204, allocations: 49.61 kB / 361.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.1207, allocations: 338.8 kB / 361.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/0.1212, allocations: 100.2 kB / 361.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.1216, allocations: 188.7 kB / 362.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.1227, allocations: 303.7 kB / 362.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1227, allocations: 4 kB / 362.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001666/0.1244, allocations: 442.4 kB / 362.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.095e-05/0.1245, allocations: 41.62 kB / 362.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.1245, allocations: 4 kB / 362.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004273/0.125, allocations: 56.83 kB / 362.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.1253, allocations: 63.95 kB / 363 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.1283, allocations: 1.633 MB / 364.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.1288, allocations: 55.59 kB / 364.7 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.1288, allocations: 8 kB / 364.7 MB, free: 5.961 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: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002493/0.1291, allocations: 153.8 kB / 364.8 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.1291, allocations: 23.7 kB / 364.8 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.121e-05/0.1292, allocations: 25.7 kB / 364.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1292, allocations: 0 / 364.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1292, allocations: 0 / 364.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1293, allocations: 3.984 kB / 364.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.1297, allocations: 313.4 kB / 365.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1297, allocations: 0 / 365.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.13, allocations: 31.97 kB / 365.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003077/0.1303, allocations: 64.75 kB / 365.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1304, allocations: 4 kB / 365.3 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/0.1333, allocations: 1.625 MB / 366.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.1333, allocations: 3.984 kB / 366.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.1351, allocations: 453.3 kB / 367.4 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1352, allocations: 100.9 kB / 367.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.1353, allocations: 8 kB / 367.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.1356, allocations: 23.97 kB / 367.5 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1358, allocations: 23.97 kB / 367.5 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1358, allocations: 4 kB / 367.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003018/0.1361, allocations: 190 kB / 367.7 MB, free: 2.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1361, allocations: 0 / 367.7 MB, free: 2.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005683/0.1367, allocations: 75.75 kB / 367.8 MB, free: 2.629 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002311/0.1369, allocations: 106.5 kB / 367.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.1385, allocations: 405.8 kB / 368.3 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1385, allocations: 0 / 368.3 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006982/0.1392, allocations: 223.2 kB / 368.5 MB, free: 1.863 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.1397, allocations: 48.39 kB / 368.5 MB, free: 1.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.1443, allocations: 0.8724 MB / 369.4 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.1448, allocations: 0.7519 MB / 370.2 MB, free: 136 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.145, allocations: 26.28 kB / 370.2 MB, free: 108 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.948e-05/0.1451, allocations: 19.44 kB / 370.2 MB, free: 88 kB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1451, allocations: 0 / 370.2 MB, free: 88 kB / 302.1 MB Notification: Performance of Templates: time 0.1828/0.328, allocations: 3.642 MB / 373.8 MB, free: 25.07 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches