Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") [: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.002435/0.002435, allocations: 183.8 kB / 8.153 MB, free: 2.203 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.726/1.726, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001234/0.001233, allocations: 95.95 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.294e-05/1.295e-05, allocations: 4 kB / 314.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.24, allocations: 47.56 MB / 361.9 MB, free: 45.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.3669, allocations: 78.31 MB / 440.2 MB, free: 7.773 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000372/0.3674, allocations: 82.02 kB / 440.2 MB, free: 7.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02745/0.3948, allocations: 5.413 MB / 445.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.444e-05/0.3949, allocations: 11.94 kB / 445.7 MB, free: 2.297 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001591/0.3965, allocations: 0.5806 MB / 446.2 MB, free: 1.668 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.3966, allocations: 8.031 kB / 446.3 MB, free: 1.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.3967, allocations: 31.62 kB / 446.3 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.3972, allocations: 267 kB / 446.5 MB, free: 1.328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.3973, allocations: 11.98 kB / 446.6 MB, free: 1.316 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.3973, allocations: 16 kB / 446.6 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000549/0.3979, allocations: 152.9 kB / 446.7 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.3984, allocations: 166.4 kB / 446.9 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3984, allocations: 0 / 446.9 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.3985, allocations: 4 kB / 446.9 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.3985, allocations: 4 kB / 446.9 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.4012, allocations: 0.8919 MB / 447.8 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.4018, allocations: 143.7 kB / 447.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.402, allocations: 52.86 kB / 448 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.4021, allocations: 4 kB / 448 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.4024, allocations: 126.1 kB / 448.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.354e-06/0.4024, allocations: 0 / 448.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008652/0.4032, allocations: 199.1 kB / 448.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.4034, allocations: 114.8 kB / 448.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.4038, allocations: 208 kB / 448.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.4038, allocations: 29.7 kB / 448.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.404, allocations: 212.5 kB / 448.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.157e-05/0.4041, allocations: 43.39 kB / 448.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.4041, allocations: 3.938 kB / 448.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4043, allocations: 322.8 kB / 449.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.4044, allocations: 54.38 kB / 449.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.4047, allocations: 107.7 kB / 449.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.4049, allocations: 59.92 kB / 449.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4049, allocations: 0 / 449.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009687/0.4059, allocations: 254.2 kB / 449.7 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002983/0.4062, allocations: 0.6083 MB / 450.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4062, allocations: 0 / 450.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002754/0.4065, allocations: 48.78 kB / 450.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.4069, allocations: 47.95 kB / 450.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/0.4077, allocations: 0.5952 MB / 451 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.4082, allocations: 51.86 kB / 451 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.4082, allocations: 8 kB / 451 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.4083, allocations: 4 kB / 451 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005899/0.4089, allocations: 163.8 kB / 451.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.4089, allocations: 4.188 kB / 451.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/0.4091, allocations: 40.91 kB / 451.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.4095, allocations: 47.95 kB / 451.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.4114, allocations: 1.459 MB / 452.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.4119, allocations: 39.88 kB / 452.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.412, allocations: 12 kB / 452.8 MB, free: 10.68 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 (18): * Single equations (assignments): 16 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.4121, allocations: 46.16 kB / 452.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.4122, allocations: 15.81 kB / 452.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.927e-05/0.4123, allocations: 25.77 kB / 452.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4123, allocations: 6.531 kB / 452.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4123, allocations: 0 / 452.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4123, allocations: 0 / 452.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.4127, allocations: 261.9 kB / 453.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4127, allocations: 7.984 kB / 453.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.413, allocations: 28.17 kB / 453.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/0.4133, allocations: 52.77 kB / 453.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.4133, allocations: 4 kB / 453.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.4155, allocations: 1.44 MB / 454.7 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4155, allocations: 0 / 454.7 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007986/0.4163, allocations: 241.8 kB / 454.9 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4164, allocations: 96.84 kB / 455 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.4165, allocations: 4 kB / 455 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.417, allocations: 47.88 kB / 455.1 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.4171, allocations: 15.97 kB / 455.1 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.4172, allocations: 11.98 kB / 455.1 MB, free: 8.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002497/0.4174, allocations: 160.5 kB / 455.2 MB, free: 8.047 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000678/0.4181, allocations: 107.7 kB / 455.3 MB, free: 7.941 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002038/0.4184, allocations: 107 kB / 455.5 MB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.4194, allocations: 385.1 kB / 455.8 MB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4194, allocations: 0 / 455.8 MB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.4198, allocations: 169.6 kB / 456 MB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.4203, allocations: 43.97 kB / 456 MB, free: 7.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.4214, allocations: 302.8 kB / 456.3 MB, free: 6.879 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.422, allocations: 0.7747 MB / 457.1 MB, free: 6.082 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.422, allocations: 0 / 457.1 MB, free: 6.082 MB / 346.7 MB Notification: Performance of Templates: time 0.009158/0.4312, allocations: 3.926 MB / 461 MB, free: 2.18 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches