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.001668/0.001668, allocations: 106.2 kB / 17.74 MB, free: 5.309 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.001885/0.001885, allocations: 192.2 kB / 18.68 MB, free: 4.379 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.42/1.42, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 47.94 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.266, allocations: 49.44 MB / 401.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005009/0.2711, allocations: 2.852 MB / 404.3 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2726, allocations: 0.7245 MB / 405 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.2729, allocations: 15.94 kB / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.2731, allocations: 39.58 kB / 405.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.2734, allocations: 99.19 kB / 405.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.2737, allocations: 115.8 kB / 405.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004993/0.2743, allocations: 394.5 kB / 405.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.2745, allocations: 123.3 kB / 405.8 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.2748, allocations: 147.5 kB / 405.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.275, allocations: 167.3 kB / 406.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.2751, allocations: 40 kB / 406.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.697e-05/0.2752, allocations: 36 kB / 406.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.2753, allocations: 75.7 kB / 406.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.2754, allocations: 167.2 kB / 406.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.2759, allocations: 430.2 kB / 406.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2759, allocations: 0 / 406.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2759, allocations: 0 / 406.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2759, allocations: 0 / 406.8 MB, free: 3.465 MB / 318.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.001278/0.2772, allocations: 0.6641 MB / 407.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2772, allocations: 15.83 kB / 407.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.2773, allocations: 40.7 kB / 407.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.2777, allocations: 292.8 kB / 407.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2778, allocations: 16.94 kB / 407.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.2778, allocations: 28.38 kB / 407.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.2785, allocations: 320 kB / 408.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2785, allocations: 0 / 408.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.2786, allocations: 12 kB / 408.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.2786, allocations: 4 kB / 408.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000762/0.2793, allocations: 282 kB / 408.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.2813, allocations: 1.169 MB / 409.7 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000882/0.2822, allocations: 242.6 kB / 409.9 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.2825, allocations: 104.8 kB / 410 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.2826, allocations: 7.938 kB / 410 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.2831, allocations: 168.9 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.384e-06/0.2831, allocations: 0 / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002072/0.2852, allocations: 0.5892 MB / 410.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.2852, allocations: 89.03 kB / 410.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.2855, allocations: 262.5 kB / 411.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.2856, allocations: 33.7 kB / 411.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.2857, allocations: 199.9 kB / 411.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.2858, allocations: 39.69 kB / 411.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-05/0.2859, allocations: 53.66 kB / 411.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.286, allocations: 334.8 kB / 411.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.2864, allocations: 100.2 kB / 411.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.2868, allocations: 188.2 kB / 412 MB, free: 13.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006726/0.2875, allocations: 307.7 kB / 412.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2875, allocations: 4 kB / 412.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001165/0.2886, allocations: 439.8 kB / 412.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.2887, allocations: 33.77 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2887, allocations: 7.938 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/0.289, allocations: 64.81 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.2893, allocations: 59.89 kB / 412.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.2914, allocations: 1.632 MB / 414.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.2918, allocations: 51.78 kB / 414.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.2918, allocations: 15.98 kB / 414.6 MB, free: 11.13 MB / 334.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.0001851/0.292, allocations: 157.1 kB / 414.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.2921, allocations: 23.86 kB / 414.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.284e-05/0.2922, allocations: 25.7 kB / 414.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2922, allocations: 0 / 414.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.2922, allocations: 4 kB / 414.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.2923, allocations: 101 kB / 414.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.2923, allocations: 7.938 kB / 414.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.2926, allocations: 27.97 kB / 415 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.2927, allocations: 19.97 kB / 415 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001271/0.2939, allocations: 433.4 kB / 415.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001067/0.295, allocations: 0.5023 MB / 415.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003277/0.2954, allocations: 95.95 kB / 416 MB, free: 9.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.2956, allocations: 193.9 kB / 416.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of Backend: time 3.51e-07/0.2956, allocations: 0 / 416.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2966, allocations: 404.8 kB / 416.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of SimCode: time 0.001205/0.2979, allocations: 0.9722 MB / 417.6 MB, free: 8.059 MB / 334.1 MB Notification: Performance of Templates: time 0.008485/0.3064, allocations: 3.82 MB / 421.4 MB, free: 4.27 MB / 334.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