Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,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.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,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.LowPass") [: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.001564/0.001564, allocations: 180.6 kB / 8.151 MB, free: 2.188 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.641/1.641, allocations: 205.2 MB / 213.8 MB, free: 13.85 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.001243/0.001243, allocations: 91.98 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.403e-05/1.406e-05, allocations: 4 kB / 314.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2429, allocations: 47.56 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.3614, allocations: 78.58 MB / 440.4 MB, free: 7.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.3617, allocations: 79.95 kB / 440.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02839/0.3901, allocations: 5.811 MB / 446.3 MB, free: 1.613 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.3902, allocations: 4 kB / 446.3 MB, free: 1.609 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001542/0.3918, allocations: 0.5944 MB / 446.9 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3918, allocations: 12.03 kB / 446.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.3919, allocations: 36.67 kB / 447 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.3925, allocations: 283.8 kB / 447.2 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.3925, allocations: 8 kB / 447.2 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-05/0.3926, allocations: 16 kB / 447.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005751/0.3932, allocations: 161 kB / 447.4 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.3938, allocations: 183.1 kB / 447.6 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3938, allocations: 0 / 447.6 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.3939, allocations: 3.938 kB / 447.6 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3939, allocations: 4 kB / 447.6 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.3967, allocations: 0.9281 MB / 448.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.3973, allocations: 170.8 kB / 448.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.3977, allocations: 98.84 kB / 448.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.3977, allocations: 4 kB / 448.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003111/0.3981, allocations: 134.2 kB / 448.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.394e-06/0.3981, allocations: 0.5625 kB / 448.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008682/0.399, allocations: 210.1 kB / 449.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.248e-05/0.3991, allocations: 110.8 kB / 449.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.3994, allocations: 212.2 kB / 449.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.3995, allocations: 33.7 kB / 449.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.3996, allocations: 214.3 kB / 449.7 MB, free: 14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.3997, allocations: 64.83 kB / 449.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.3998, allocations: 0 / 449.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4, allocations: 322.8 kB / 450.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.4002, allocations: 52.23 kB / 450.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.4005, allocations: 128.1 kB / 450.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.4007, allocations: 70.53 kB / 450.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4007, allocations: 0 / 450.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009842/0.4017, allocations: 260.1 kB / 450.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003071/0.402, allocations: 0.6125 MB / 451.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.402, allocations: 0 / 451.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/0.4023, allocations: 32.84 kB / 451.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.4028, allocations: 71.89 kB / 451.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005788/0.4034, allocations: 0.5572 MB / 451.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/0.404, allocations: 51.88 kB / 451.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.404, allocations: 12 kB / 451.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.4041, allocations: 4 kB / 451.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005577/0.4046, allocations: 166.9 kB / 452.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4046, allocations: 4 kB / 452.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.4048, allocations: 32.22 kB / 452.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.4054, allocations: 72.39 kB / 452.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.4068, allocations: 1.314 MB / 453.5 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.4073, allocations: 47.86 kB / 453.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.4073, allocations: 12 kB / 453.6 MB, free: 9.902 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 (26): * Single equations (assignments): 24 * 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.0001302/0.4075, allocations: 33.64 kB / 453.6 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-05/0.4076, allocations: 23.72 kB / 453.6 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.4077, allocations: 25.89 kB / 453.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.4077, allocations: 4 kB / 453.6 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4077, allocations: 0 / 453.6 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4077, allocations: 0 / 453.6 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.4091, allocations: 0.5926 MB / 454.2 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4092, allocations: 0 / 454.2 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.4097, allocations: 59.94 kB / 454.3 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001481/0.4099, allocations: 24.84 kB / 454.3 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.4099, allocations: 3.906 kB / 454.3 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.4116, allocations: 1.322 MB / 455.6 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.4116, allocations: 1.953 kB / 455.6 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001703/0.4134, allocations: 406.7 kB / 456 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.4136, allocations: 92.92 kB / 456.1 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.4137, allocations: 7.906 kB / 456.1 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/0.4145, allocations: 44.02 kB / 456.2 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.4147, allocations: 19.97 kB / 456.2 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.4147, allocations: 8 kB / 456.2 MB, free: 7.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003644/0.4151, allocations: 172.5 kB / 456.4 MB, free: 6.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001016/0.4161, allocations: 119.6 kB / 456.5 MB, free: 6.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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.0002241/0.4164, allocations: 111.2 kB / 456.6 MB, free: 6.633 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.4175, allocations: 409.2 kB / 457 MB, free: 6.211 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4175, allocations: 0 / 457 MB, free: 6.211 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.4179, allocations: 186.4 kB / 457.2 MB, free: 6.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.4184, allocations: 31.95 kB / 457.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.4198, allocations: 396.3 kB / 457.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/0.4204, allocations: 0.789 MB / 458.4 MB, free: 4.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4204, allocations: 0 / 458.4 MB, free: 4.75 MB / 346.7 MB Notification: Performance of Templates: time 0.009793/0.4302, allocations: 4.331 MB / 462.7 MB, free: 464 kB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches