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.001509/0.001509, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001875/0.001875, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.409/1.409, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 55.81 kB / 301.3 MB, free: 5.852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/0.0935, allocations: 49.45 MB / 350.7 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00405/0.09759, allocations: 2.851 MB / 353.6 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.09881, allocations: 0.7245 MB / 354.3 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.09896, allocations: 4 kB / 354.3 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.09909, allocations: 43.56 kB / 354.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.0993, allocations: 99.19 kB / 354.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.09954, allocations: 107.8 kB / 354.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.09991, allocations: 398.5 kB / 355 MB, free: 152 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.1002, allocations: 127.2 kB / 355.1 MB, free: 24 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.1004, allocations: 155.4 kB / 355.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.1006, allocations: 155.4 kB / 355.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.434e-05/0.1007, allocations: 40 kB / 355.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1008, allocations: 40 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.1009, allocations: 75.69 kB / 355.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.101, allocations: 171.2 kB / 355.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.1014, allocations: 410.9 kB / 356.1 MB, free: 15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1014, allocations: 3.984 kB / 356.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1014, allocations: 7.938 kB / 356.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1014, allocations: 4 kB / 356.1 MB, free: 14.98 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.00124/0.1027, allocations: 0.6486 MB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1027, allocations: 19.89 kB / 356.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.468e-05/0.1028, allocations: 36.55 kB / 356.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.1032, allocations: 288.6 kB / 357.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1032, allocations: 20.94 kB / 357.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.1032, allocations: 32.22 kB / 357.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006736/0.1039, allocations: 316 kB / 357.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1039, allocations: 0 / 357.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.104, allocations: 12 kB / 357.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.104, allocations: 11.94 kB / 357.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008073/0.1048, allocations: 270.1 kB / 357.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.1068, allocations: 1.177 MB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008875/0.1077, allocations: 242.6 kB / 359.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.108, allocations: 108.7 kB / 359.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1081, allocations: 4 kB / 359.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005305/0.1086, allocations: 179.2 kB / 359.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.582e-06/0.1086, allocations: 0 / 359.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002101/0.1107, allocations: 0.5927 MB / 360 MB, free: 10.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.1108, allocations: 81.05 kB / 360.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.1111, allocations: 262.6 kB / 360.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1111, allocations: 33.64 kB / 360.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.1113, allocations: 195.5 kB / 360.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.1113, allocations: 35.55 kB / 360.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.1114, allocations: 53.61 kB / 360.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1115, allocations: 334.8 kB / 361 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.1119, allocations: 104.2 kB / 361.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/0.1123, allocations: 188.7 kB / 361.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.113, allocations: 303.7 kB / 361.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1131, allocations: 0 / 361.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001221/0.1143, allocations: 450.8 kB / 362 MB, free: 8.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.1143, allocations: 37.64 kB / 362.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1144, allocations: 4.062 kB / 362.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.1147, allocations: 64.81 kB / 362.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.1149, allocations: 55.91 kB / 362.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.1171, allocations: 1.629 MB / 363.8 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.1174, allocations: 47.66 kB / 363.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.1175, allocations: 12 kB / 363.9 MB, free: 6.664 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.0001576/0.1176, allocations: 153.8 kB / 364 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.1177, allocations: 23.72 kB / 364.1 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.1177, allocations: 25.64 kB / 364.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1178, allocations: 4 kB / 364.1 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1178, allocations: 0 / 364.1 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1178, allocations: 3.938 kB / 364.1 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.118, allocations: 313.4 kB / 364.4 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1181, allocations: 0 / 364.4 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.1183, allocations: 35.97 kB / 364.4 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002239/0.1185, allocations: 56.81 kB / 364.5 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1185, allocations: 8 kB / 364.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.1204, allocations: 1.632 MB / 366.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1204, allocations: 0 / 366.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.1218, allocations: 457.3 kB / 366.6 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.1219, allocations: 96.88 kB / 366.7 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.1219, allocations: 8 kB / 366.7 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.1222, allocations: 27.95 kB / 366.7 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.1222, allocations: 24.05 kB / 366.7 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.1223, allocations: 4 kB / 366.7 MB, free: 3.578 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.1225, allocations: 190 kB / 366.9 MB, free: 3.395 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1225, allocations: 0 / 366.9 MB, free: 3.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.1228, allocations: 71.75 kB / 367 MB, free: 3.324 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.0001504/0.123, allocations: 99.25 kB / 367.1 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009809/0.124, allocations: 417.7 kB / 367.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.124, allocations: 0.6875 kB / 367.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004199/0.1244, allocations: 214.6 kB / 367.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1248, allocations: 51.98 kB / 367.8 MB, free: 2.512 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.1282, allocations: 0.9053 MB / 368.7 MB, free: 1.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1285, allocations: 0.7518 MB / 369.4 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.1286, allocations: 19.44 kB / 369.4 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1286, allocations: 0 / 369.4 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of Templates: time 0.1569/0.2855, allocations: 4.544 MB / 374 MB, free: 24.43 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 -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