Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009098/0.0009098, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009311/0.0009311, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9783/0.9783, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.54e-05, allocations: 2.312 kB / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003446/0.003462, allocations: 3.606 MB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.005369, allocations: 1.425 MB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.00557, allocations: 8 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.006804, allocations: 0.7853 MB / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006676/0.007472, allocations: 381.8 kB / 279.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.008086, allocations: 0.5254 MB / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.008484, allocations: 473.7 kB / 280.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005653/0.009049, allocations: 422.2 kB / 281 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000427/0.009476, allocations: 315.2 kB / 281.3 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.009718, allocations: 207.4 kB / 281.5 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.009769, allocations: 52 kB / 281.6 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.01009, allocations: 207.7 kB / 281.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.01015, allocations: 111.6 kB / 281.9 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.01025, allocations: 159.6 kB / 282 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.01075, allocations: 0.5099 MB / 282.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01075, allocations: 0 / 282.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01075, allocations: 4 kB / 282.5 MB, free: 8.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.01076, allocations: 0 / 282.5 MB, free: 8.09 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001301/0.01206, allocations: 0.9639 MB / 283.5 MB, free: 7.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.0121, allocations: 8.031 kB / 283.5 MB, free: 7.078 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.01388, allocations: 0.5858 MB / 284.1 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.01416, allocations: 263.9 kB / 284.4 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.01419, allocations: 37.69 kB / 284.4 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.01425, allocations: 56.38 kB / 284.4 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.01466, allocations: 373.4 kB / 284.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.01468, allocations: 8.172 kB / 284.8 MB, free: 5.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.01471, allocations: 28.12 kB / 284.8 MB, free: 5.699 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.01472, allocations: 12 kB / 284.9 MB, free: 5.688 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.01502, allocations: 282.1 kB / 285.1 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.01663, allocations: 1.498 MB / 286.6 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007173/0.01735, allocations: 0.5475 MB / 287.2 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.01751, allocations: 149 kB / 287.3 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.556e-05/0.01757, allocations: 32.5 kB / 287.4 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.01759, allocations: 45.88 kB / 287.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.603e-06/0.0176, allocations: 0 / 287.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0007114/0.01831, allocations: 464.3 kB / 287.9 MB, free: 2.598 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.01833, allocations: 55.91 kB / 287.9 MB, free: 2.531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.01845, allocations: 228.3 kB / 288.1 MB, free: 2.293 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.01847, allocations: 29.7 kB / 288.2 MB, free: 2.258 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.01857, allocations: 279.7 kB / 288.4 MB, free: 1.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/0.01865, allocations: 166.5 kB / 288.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.01874, allocations: 95.77 kB / 288.7 MB, free: 1.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.01885, allocations: 0.5079 MB / 289.2 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.327e-05/0.01892, allocations: 68.88 kB / 289.3 MB, free: 1.125 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.01905, allocations: 182.3 kB / 289.4 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.01927, allocations: 286.2 kB / 289.7 MB, free: 0.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01928, allocations: 0 / 289.7 MB, free: 0.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003949/0.01967, allocations: 388.7 kB / 290.1 MB, free: 196 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.01968, allocations: 6.188 kB / 290.1 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01969, allocations: 4 kB / 290.1 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/0.01992, allocations: 95.81 kB / 290.2 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1033/0.1232, allocations: 89.88 kB / 290.3 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.1243, allocations: 1.955 MB / 292.2 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.1245, allocations: 42.94 kB / 292.3 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.1245, allocations: 17.08 kB / 292.3 MB, free: 19.59 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.1246, allocations: 188.1 kB / 292.5 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.1247, allocations: 41.92 kB / 292.5 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.1251, allocations: 386.2 kB / 292.9 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1251, allocations: 4.406 kB / 292.9 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1252, allocations: 2.719 kB / 292.9 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1252, allocations: 2.156 kB / 292.9 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.1259, allocations: 0.8283 MB / 293.7 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1259, allocations: 1.031 kB / 293.7 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.1261, allocations: 80.89 kB / 293.8 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/0.1263, allocations: 85.81 kB / 293.9 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.1263, allocations: 14.31 kB / 293.9 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007092/0.1271, allocations: 1.963 MB / 295.9 MB, free: 17.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1271, allocations: 1.094 kB / 295.9 MB, free: 17.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.1276, allocations: 0.5803 MB / 296.5 MB, free: 17.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.1276, allocations: 33.39 kB / 296.5 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.1276, allocations: 16.83 kB / 296.5 MB, free: 17.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1277, allocations: 15.23 kB / 296.5 MB, free: 17.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.1278, allocations: 40.77 kB / 296.6 MB, free: 17.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.1278, allocations: 11.91 kB / 296.6 MB, free: 17.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.626e-05/0.1278, allocations: 154 kB / 296.7 MB, free: 16.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1278, allocations: 0 / 296.7 MB, free: 16.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003629/0.1282, allocations: 155 kB / 296.9 MB, free: 16.93 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001582/0.1284, allocations: 148.3 kB / 297 MB, free: 16.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004525/0.1288, allocations: 478.3 kB / 297.5 MB, free: 16.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1288, allocations: 3.969 kB / 297.5 MB, free: 16.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.129, allocations: 360 kB / 297.9 MB, free: 16.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.1293, allocations: 33.05 kB / 297.9 MB, free: 16.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009597/0.1302, allocations: 0.7362 MB / 298.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.426e-05/0.1303, allocations: 109.3 kB / 298.7 MB, free: 16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1304, allocations: 48.48 kB / 298.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.1305, allocations: 120.8 kB / 298.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1305, allocations: 3.719 kB / 298.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of Templates: time 0.007197/0.1377, allocations: 4.754 MB / 303.6 MB, free: 15.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.613642518874258]