Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") [: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.0009678/0.0009679, allocations: 175.1 kB / 8.475 MB, free: 1.871 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.193/1.193, allocations: 205.2 MB / 214.1 MB, free: 5.219 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008399/0.00084, allocations: 94.25 kB / 262.1 MB, free: 5.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.171e-06/6.201e-06, allocations: 0 / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07844/0.07847, allocations: 47.57 MB / 362.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.36, allocations: 82.04 MB / 444.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.3603, allocations: 78 kB / 444.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03858/0.3989, allocations: 17.45 MB / 462.1 MB, free: 4.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.399, allocations: 13.38 kB / 462.1 MB, free: 4.418 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001702/0.4007, allocations: 0.8367 MB / 463 MB, free: 3.797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4007, allocations: 16.44 kB / 463 MB, free: 3.789 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003273/0.404, allocations: 485.4 kB / 463.4 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.4045, allocations: 367.1 kB / 463.8 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.4045, allocations: 26.22 kB / 463.8 MB, free: 3.328 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-05/0.4046, allocations: 41 kB / 463.9 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001034/0.4056, allocations: 0.6459 MB / 464.5 MB, free: 3.277 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009428/0.4066, allocations: 0.6009 MB / 465.1 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.4066, allocations: 0.6875 kB / 465.1 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.4067, allocations: 1 kB / 465.1 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.4067, allocations: 16.25 kB / 465.1 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/0.4101, allocations: 2.797 MB / 467.9 MB, free: 1.273 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.411, allocations: 451.3 kB / 468.4 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.4113, allocations: 189.6 kB / 468.6 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.165e-05/0.4114, allocations: 95.61 kB / 468.6 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.4115, allocations: 37.44 kB / 468.7 MB, free: 1.066 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 2.275e-06/0.4115, allocations: 0 / 468.7 MB, free: 1.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.001157/0.4126, allocations: 469.2 kB / 469.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.4127, allocations: 90.25 kB / 469.2 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.4129, allocations: 200.2 kB / 469.4 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.413, allocations: 27.08 kB / 469.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.4131, allocations: 278.3 kB / 469.7 MB, free: 484 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.4132, allocations: 173.8 kB / 469.9 MB, free: 352 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.4132, allocations: 0 / 469.9 MB, free: 352 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.4133, allocations: 341.2 kB / 470.2 MB, free: 20 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.4136, allocations: 156.2 kB / 470.4 MB, free: 12 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.414, allocations: 354.6 kB / 470.7 MB, free: 15.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/0.4146, allocations: 235 kB / 471 MB, free: 15.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4146, allocations: 1.344 kB / 471 MB, free: 15.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001327/0.4159, allocations: 0.6061 MB / 471.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008629/0.4168, allocations: 2.355 MB / 473.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.4168, allocations: 5.531 kB / 473.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/0.4171, allocations: 59.42 kB / 474 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.4177, allocations: 138 kB / 474.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.4192, allocations: 1.51 MB / 475.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.4197, allocations: 70.23 kB / 475.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.4197, allocations: 30.52 kB / 475.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.4197, allocations: 3.906 kB / 475.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001123/0.4209, allocations: 0.5335 MB / 476.3 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4209, allocations: 5.781 kB / 476.3 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/0.4211, allocations: 53.72 kB / 476.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/0.4216, allocations: 134.1 kB / 476.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.4228, allocations: 1.439 MB / 477.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.4232, allocations: 52.27 kB / 477.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.4232, allocations: 25.97 kB / 478 MB, free: 10.19 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.4234, allocations: 122.2 kB / 478.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.4235, allocations: 36.89 kB / 478.1 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.4247, allocations: 0.5509 MB / 478.7 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008339/0.4256, allocations: 447.8 kB / 479.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4256, allocations: 0 / 479.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.4256, allocations: 6.828 kB / 479.1 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.4274, allocations: 1.161 MB / 480.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4274, allocations: 4 kB / 480.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.4278, allocations: 95.47 kB / 480.4 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.428, allocations: 49.28 kB / 480.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.4281, allocations: 7.234 kB / 480.4 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.4293, allocations: 1.506 MB / 481.9 MB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4293, allocations: 0 / 481.9 MB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001246/0.4305, allocations: 0.8044 MB / 482.7 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.4307, allocations: 161.3 kB / 482.9 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.4308, allocations: 7.812 kB / 482.9 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.4311, allocations: 19.98 kB / 482.9 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.4312, allocations: 35.94 kB / 483 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.4313, allocations: 11.25 kB / 483 MB, free: 7.191 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001331/0.4314, allocations: 149 kB / 483.1 MB, free: 7.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001087/0.4325, allocations: 272.9 kB / 483.4 MB, free: 6.805 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002658/0.4328, allocations: 142.5 kB / 483.5 MB, free: 6.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.4342, allocations: 1.012 MB / 484.5 MB, free: 5.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4342, allocations: 0 / 484.5 MB, free: 5.855 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.4346, allocations: 332.9 kB / 484.9 MB, free: 5.598 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.435, allocations: 27.78 kB / 484.9 MB, free: 5.578 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.4384, allocations: 1.225 MB / 486.1 MB, free: 4.586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/0.439, allocations: 0.902 MB / 487 MB, free: 3.66 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.439, allocations: 0 / 487 MB, free: 3.66 MB / 330.7 MB Notification: Performance of Templates: time 0.01338/0.4524, allocations: 8.157 MB / 495.2 MB, free: 11.54 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches