Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002509/0.002508, allocations: 174.7 kB / 8.149 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.2 MB / 213.8 MB, free: 13.89 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001643/0.001643, allocations: 92.91 kB / 261.8 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.461e-05/1.476e-05, allocations: 4 kB / 314.3 MB, free: 8.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2419, allocations: 47.56 MB / 361.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.3632, allocations: 78.43 MB / 440.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.3635, allocations: 75.95 kB / 440.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02665/0.3902, allocations: 5.224 MB / 445.6 MB, free: 2.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.3903, allocations: 4 kB / 445.6 MB, free: 2.281 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001436/0.3917, allocations: 0.5706 MB / 446.2 MB, free: 1.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3918, allocations: 8.031 kB / 446.2 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.3919, allocations: 26.09 kB / 446.2 MB, free: 1.625 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.3924, allocations: 262.9 kB / 446.4 MB, free: 1.328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.3925, allocations: 8 kB / 446.5 MB, free: 1.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.3925, allocations: 12 kB / 446.5 MB, free: 1.309 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004914/0.393, allocations: 140.7 kB / 446.6 MB, free: 1.172 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.3935, allocations: 160 kB / 446.8 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3936, allocations: 4 kB / 446.8 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.3936, allocations: 3.906 kB / 446.8 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.3937, allocations: 4 kB / 446.8 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/0.3962, allocations: 0.8627 MB / 447.6 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/0.3968, allocations: 139.8 kB / 447.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.397, allocations: 48.86 kB / 447.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.3971, allocations: 8 kB / 447.8 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.3973, allocations: 109 kB / 447.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/0.3973, allocations: 0 / 447.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007852/0.3981, allocations: 187 kB / 448.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.3982, allocations: 85.09 kB / 448.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.3985, allocations: 193.9 kB / 448.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.3986, allocations: 29.7 kB / 448.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.3987, allocations: 206.6 kB / 448.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.3988, allocations: 44.05 kB / 448.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.3988, allocations: 0 / 448.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.399, allocations: 322.8 kB / 449 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.3991, allocations: 46.62 kB / 449 MB, free: 14.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.3994, allocations: 99.06 kB / 449.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.3995, allocations: 55.91 kB / 449.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3995, allocations: 0 / 449.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009021/0.4005, allocations: 234.3 kB / 449.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.4007, allocations: 0.6151 MB / 450 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4008, allocations: 0 / 450 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.401, allocations: 36.83 kB / 450.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.4015, allocations: 55.91 kB / 450.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005292/0.402, allocations: 0.5562 MB / 450.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.4025, allocations: 43.94 kB / 450.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.4025, allocations: 11.56 kB / 450.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.4026, allocations: 4 kB / 450.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004767/0.403, allocations: 145.4 kB / 450.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4031, allocations: 4 kB / 450.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/0.4032, allocations: 20.84 kB / 450.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/0.4036, allocations: 55.91 kB / 450.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.405, allocations: 1.326 MB / 452.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.4055, allocations: 31.92 kB / 452.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.4055, allocations: 8 kB / 452.3 MB, free: 11.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.4057, allocations: 42.23 kB / 452.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/0.4058, allocations: 19.86 kB / 452.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.977e-05/0.4058, allocations: 29.38 kB / 452.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.4059, allocations: 4 kB / 452.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.4059, allocations: 0 / 452.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4059, allocations: 0 / 452.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.4062, allocations: 242 kB / 452.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4063, allocations: 3.938 kB / 452.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.4067, allocations: 43.97 kB / 452.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.4068, allocations: 28.84 kB / 452.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.4069, allocations: 3.984 kB / 452.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.4085, allocations: 1.311 MB / 454 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4085, allocations: 0 / 454 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008884/0.4094, allocations: 281.4 kB / 454.3 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.4095, allocations: 96.91 kB / 454.4 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.4096, allocations: 4 kB / 454.4 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.41, allocations: 36.17 kB / 454.4 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.4102, allocations: 30.02 kB / 454.5 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.4102, allocations: 4 kB / 454.5 MB, free: 8.734 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002219/0.4104, allocations: 153.1 kB / 454.6 MB, free: 8.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006577/0.4111, allocations: 103.7 kB / 454.7 MB, free: 8.484 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001991/0.4113, allocations: 99.19 kB / 454.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009601/0.4123, allocations: 366.8 kB / 455.2 MB, free: 8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4123, allocations: 4.75 kB / 455.2 MB, free: 7.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.4126, allocations: 161.8 kB / 455.3 MB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.4131, allocations: 33.97 kB / 455.4 MB, free: 7.793 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.4143, allocations: 346.2 kB / 455.7 MB, free: 7.434 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/0.4148, allocations: 0.767 MB / 456.5 MB, free: 6.641 MB / 346.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4148, allocations: 1.219 kB / 456.5 MB, free: 6.641 MB / 346.7 MB Notification: Performance of Templates: time 0.008571/0.4234, allocations: 3.74 MB / 460.2 MB, free: 2.926 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches