Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008878/0.0008878, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 160.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8579/0.8579, allocations: 177 MB / 205.2 MB, free: 4.992 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.294e-05, allocations: 5.266 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.002992/0.003005, allocations: 3.607 MB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.004497, allocations: 1.475 MB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.004618, allocations: 12 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008953/0.005513, allocations: 0.8048 MB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.006004, allocations: 389.8 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.006527, allocations: 0.5292 MB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.006828, allocations: 485.7 kB / 280.7 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.007244, allocations: 442.8 kB / 281.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.007502, allocations: 315.2 kB / 281.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.007683, allocations: 211.4 kB / 281.6 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.007724, allocations: 48 kB / 281.7 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.007953, allocations: 215.6 kB / 281.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.565e-05/0.008008, allocations: 107.6 kB / 282 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.711e-05/0.008105, allocations: 163.6 kB / 282.1 MB, free: 8.246 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.008517, allocations: 0.5137 MB / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-06/0.008519, allocations: 0 / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.008519, allocations: 4 kB / 282.7 MB, free: 7.727 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.008522, allocations: 0 / 282.7 MB, free: 7.727 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.00107/0.009592, allocations: 0.8589 MB / 283.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.00962, allocations: 11.98 kB / 283.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.01137, allocations: 0.6523 MB / 284.2 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.01156, allocations: 173.2 kB / 284.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.01158, allocations: 45.69 kB / 284.4 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.01164, allocations: 60.25 kB / 284.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.01198, allocations: 389.4 kB / 284.8 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.01199, allocations: 4.172 kB / 284.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.01202, allocations: 28.11 kB / 284.9 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.01203, allocations: 20 kB / 284.9 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.01229, allocations: 226.3 kB / 285.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.01362, allocations: 1.217 MB / 286.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/0.01426, allocations: 0.4904 MB / 286.8 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.01442, allocations: 126.3 kB / 286.9 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.01446, allocations: 32.41 kB / 287 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.01448, allocations: 35.06 kB / 287 MB, free: 3.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.462e-06/0.01448, allocations: 0 / 287 MB, free: 3.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006059/0.01509, allocations: 382.6 kB / 287.4 MB, free: 2.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.01511, allocations: 59.84 kB / 287.4 MB, free: 2.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.01519, allocations: 170.4 kB / 287.6 MB, free: 2.613 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.01521, allocations: 33.7 kB / 287.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.01528, allocations: 224.9 kB / 287.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.117e-05/0.01535, allocations: 166.6 kB / 288 MB, free: 2.184 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.01543, allocations: 86.09 kB / 288.1 MB, free: 2.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.01556, allocations: 342.8 kB / 288.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.01562, allocations: 52.97 kB / 288.5 MB, free: 1.695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.844e-05/0.01571, allocations: 138 kB / 288.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.01591, allocations: 249.8 kB / 288.9 MB, free: 1.258 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01591, allocations: 0 / 288.9 MB, free: 1.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003036/0.01621, allocations: 303 kB / 289.2 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.01622, allocations: 8 kB / 289.2 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01623, allocations: 4.281 kB / 289.2 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.01643, allocations: 84.7 kB / 289.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.01661, allocations: 91.83 kB / 289.3 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09049/0.1071, allocations: 1.368 MB / 290.7 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.1073, allocations: 41.81 kB / 290.7 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.1073, allocations: 13.72 kB / 290.8 MB, free: 20.37 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.0001053/0.1074, allocations: 137 kB / 290.9 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.1075, allocations: 30.12 kB / 290.9 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004014/0.1079, allocations: 321.8 kB / 291.2 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1079, allocations: 9.844 kB / 291.2 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1079, allocations: 5.25 kB / 291.3 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1079, allocations: 2.766 kB / 291.3 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.1085, allocations: 0.6224 MB / 291.9 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1085, allocations: 0.8438 kB / 291.9 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.1087, allocations: 77.31 kB / 292 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001792/0.1088, allocations: 80.69 kB / 292 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.1088, allocations: 13.41 kB / 292 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005616/0.1094, allocations: 1.366 MB / 293.4 MB, free: 18.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1094, allocations: 8.5 kB / 293.4 MB, free: 18.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.1098, allocations: 465.8 kB / 293.9 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.1098, allocations: 26.86 kB / 293.9 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1098, allocations: 6.906 kB / 293.9 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/0.1099, allocations: 17.34 kB / 293.9 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.11, allocations: 42.55 kB / 294 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.11, allocations: 10.59 kB / 294 MB, free: 18.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.11, allocations: 38.62 kB / 294 MB, free: 18.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.11, allocations: 0 / 294 MB, free: 18.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.1103, allocations: 158.5 kB / 294.2 MB, free: 18.66 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.0001468/0.1105, allocations: 128.8 kB / 294.3 MB, free: 18.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.1109, allocations: 394.5 kB / 294.7 MB, free: 18.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1109, allocations: 1.25 kB / 294.7 MB, free: 18.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.111, allocations: 288.2 kB / 295 MB, free: 18.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.1112, allocations: 29.94 kB / 295 MB, free: 18.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008625/0.1121, allocations: 0.7269 MB / 295.7 MB, free: 17.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.1121, allocations: 113.8 kB / 295.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1122, allocations: 47.2 kB / 295.9 MB, free: 17.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1124, allocations: 100 kB / 296 MB, free: 17.82 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1124, allocations: 4 kB / 296 MB, free: 17.82 MB / 266.7 MB Notification: Performance of Templates: time 0.006418/0.1188, allocations: 4.674 MB / 300.7 MB, free: 17.4 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.421470430213958]