Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,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.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,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.Differentiator") [: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.001829/0.001828, allocations: 182.5 kB / 8.154 MB, free: 2.691 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.2 MB / 213.7 MB, free: 2.152 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 91.72 kB / 261.8 MB, free: 1.477 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 1.088e-05/1.098e-05, allocations: 0 / 314.3 MB, free: 12.9 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.09881, allocations: 47.57 MB / 361.9 MB, free: 13.21 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.26/0.3589, allocations: 78.41 MB / 440.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.3592, allocations: 77.2 kB / 440.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0235/0.3827, allocations: 5.206 MB / 445.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.3828, allocations: 4 kB / 445.6 MB, free: 15.29 MB / 334.1 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.001387/0.3842, allocations: 0.5591 MB / 446.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3843, allocations: 8.031 kB / 446.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.3844, allocations: 35.38 kB / 446.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.3849, allocations: 262.9 kB / 446.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.3849, allocations: 5.453 kB / 446.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.902e-05/0.385, allocations: 16 kB / 446.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005022/0.3855, allocations: 140.7 kB / 446.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.386, allocations: 162.1 kB / 446.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.386, allocations: 4 kB / 446.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.3861, allocations: 3.906 kB / 446.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3861, allocations: 4 kB / 446.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/0.3886, allocations: 0.8564 MB / 447.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.3892, allocations: 138.6 kB / 447.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.3894, allocations: 52.86 kB / 447.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3894, allocations: 4 kB / 447.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.3897, allocations: 106.2 kB / 447.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.3897, allocations: 0 / 447.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004177/0.3901, allocations: 137.2 kB / 448 MB, free: 12.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.3902, allocations: 77.11 kB / 448.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.3905, allocations: 197.8 kB / 448.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.3906, allocations: 29.7 kB / 448.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3907, allocations: 206.6 kB / 448.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.3908, allocations: 43.39 kB / 448.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.3908, allocations: 0 / 448.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3909, allocations: 322.7 kB / 448.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.3911, allocations: 51.23 kB / 448.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.3913, allocations: 99.05 kB / 449 MB, free: 11.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3915, allocations: 51.92 kB / 449.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3915, allocations: 4 kB / 449.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004719/0.392, allocations: 169.4 kB / 449.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002516/0.3922, allocations: 0.6135 MB / 449.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3923, allocations: 4 kB / 449.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3923, allocations: 0 / 449.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.3928, allocations: 67.95 kB / 449.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3929, allocations: 10.5 kB / 450 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.3933, allocations: 43.88 kB / 450 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.3934, allocations: 12 kB / 450 MB, free: 10.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.3934, allocations: 8 kB / 450 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003779/0.3938, allocations: 115.8 kB / 450.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3938, allocations: 7.688 kB / 450.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.602e-06/0.3938, allocations: 3.906 kB / 450.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.3943, allocations: 68.08 kB / 450.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.445e-05/0.3943, allocations: 4 kB / 450.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.3947, allocations: 46.25 kB / 450.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.3948, allocations: 4 kB / 450.3 MB, free: 10.29 MB / 334.1 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 (22): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.3949, allocations: 33.7 kB / 450.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.395, allocations: 15.81 kB / 450.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.567e-05/0.3951, allocations: 33.3 kB / 450.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3951, allocations: 0 / 450.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3951, allocations: 0 / 450.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3951, allocations: 4 kB / 450.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.3955, allocations: 249.9 kB / 450.6 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3955, allocations: 3.938 kB / 450.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.396, allocations: 55.95 kB / 450.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.396, allocations: 0 / 450.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.3961, allocations: 0 / 450.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3961, allocations: 4 kB / 450.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3961, allocations: 0 / 450.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005712/0.3967, allocations: 214.2 kB / 450.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.951e-05/0.3968, allocations: 100.8 kB / 451 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.3969, allocations: 12 kB / 451 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.3973, allocations: 39.95 kB / 451 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3975, allocations: 16.58 kB / 451 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.3975, allocations: 4 kB / 451 MB, free: 9.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 0.0002219/0.3977, allocations: 152.8 kB / 451.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005471/0.3983, allocations: 95.67 kB / 451.3 MB, free: 9.203 MB / 334.1 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 (13): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001888/0.3985, allocations: 100.5 kB / 451.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006962/0.3992, allocations: 260.8 kB / 451.6 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3992, allocations: 0 / 451.6 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.3994, allocations: 51.98 kB / 451.7 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.3999, allocations: 37.3 kB / 451.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4011, allocations: 344.4 kB / 452 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.4016, allocations: 0.7751 MB / 452.8 MB, free: 7.594 MB / 334.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4017, allocations: 4 kB / 452.8 MB, free: 7.59 MB / 334.1 MB Notification: Performance of Templates: time 0.00743/0.4091, allocations: 2.785 MB / 455.6 MB, free: 4.867 MB / 334.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches