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.0009694/0.0009694, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00115/0.00115, allocations: 172.2 kB / 24.92 MB, free: 9.113 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.9287/0.9287, allocations: 177.1 MB / 205.3 MB, free: 5.504 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 4.99e-06/4.99e-06, allocations: 4 kB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.731e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005406/0.005433, allocations: 3.662 MB / 277.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.008181, allocations: 1.467 MB / 278.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.008432, allocations: 8 kB / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.00996, allocations: 0.7931 MB / 279.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009166/0.01088, allocations: 389.8 kB / 279.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009486/0.01183, allocations: 0.5253 MB / 280.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.01233, allocations: 473.7 kB / 280.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006607/0.01299, allocations: 454.8 kB / 281.2 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.01344, allocations: 315.2 kB / 281.5 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.01374, allocations: 211.4 kB / 281.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.0138, allocations: 44 kB / 281.8 MB, free: 8.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004605/0.01427, allocations: 223.6 kB / 282 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.01435, allocations: 111.6 kB / 282.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.0145, allocations: 159.6 kB / 282.3 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007108/0.01521, allocations: 0.5137 MB / 282.8 MB, free: 7.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01521, allocations: 0 / 282.8 MB, free: 7.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01522, allocations: 4 kB / 282.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.01522, allocations: 0 / 282.8 MB, free: 7.926 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.001599/0.01682, allocations: 0.8588 MB / 283.6 MB, free: 7.043 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.01686, allocations: 8.031 kB / 283.7 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.01876, allocations: 0.6562 MB / 284.3 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.01902, allocations: 177.2 kB / 284.5 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.01905, allocations: 41.69 kB / 284.5 MB, free: 6.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.01911, allocations: 60.31 kB / 284.6 MB, free: 6.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.01949, allocations: 385.4 kB / 285 MB, free: 5.688 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.01951, allocations: 4.172 kB / 285 MB, free: 5.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.01954, allocations: 24.12 kB / 285 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.01955, allocations: 20 kB / 285 MB, free: 5.641 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.01982, allocations: 230.3 kB / 285.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.02124, allocations: 1.213 MB / 286.4 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.02189, allocations: 0.4984 MB / 286.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.02204, allocations: 130.3 kB / 287.1 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/0.02209, allocations: 32.41 kB / 287.1 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.02211, allocations: 35.06 kB / 287.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.773e-06/0.02211, allocations: 0 / 287.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006048/0.02272, allocations: 390.6 kB / 287.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.02274, allocations: 55.91 kB / 287.6 MB, free: 2.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.02283, allocations: 169.1 kB / 287.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.02285, allocations: 33.7 kB / 287.8 MB, free: 2.766 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.02292, allocations: 221 kB / 288 MB, free: 2.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.02299, allocations: 166.5 kB / 288.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-05/0.02307, allocations: 86.11 kB / 288.2 MB, free: 2.289 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.573e-05/0.02315, allocations: 338.8 kB / 288.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.02321, allocations: 52.97 kB / 288.6 MB, free: 1.895 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.575e-05/0.0233, allocations: 146 kB / 288.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.0235, allocations: 245.8 kB / 289 MB, free: 1.457 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.0235, allocations: 0 / 289 MB, free: 1.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003147/0.02381, allocations: 299.1 kB / 289.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.02383, allocations: 8.281 kB / 289.3 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.02383, allocations: 4 kB / 289.3 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.02405, allocations: 88.7 kB / 289.4 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.02425, allocations: 103.8 kB / 289.5 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1014/0.1256, allocations: 1.364 MB / 290.9 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.1259, allocations: 38.72 kB / 290.9 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.1259, allocations: 14.12 kB / 290.9 MB, free: 20.64 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.0001309/0.126, allocations: 138.8 kB / 291 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.1261, allocations: 32.33 kB / 291.1 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.1266, allocations: 320.4 kB / 291.4 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1266, allocations: 8.562 kB / 291.4 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1266, allocations: 1.094 kB / 291.4 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1266, allocations: 4 kB / 291.4 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/0.1273, allocations: 0.6254 MB / 292 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1273, allocations: 2.359 kB / 292 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.1275, allocations: 76.58 kB / 292.1 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.1277, allocations: 81.02 kB / 292.2 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1277, allocations: 11.05 kB / 292.2 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007263/0.1284, allocations: 1.375 MB / 293.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1284, allocations: 7.172 kB / 293.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.1289, allocations: 467 kB / 294 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.1289, allocations: 35.08 kB / 294.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1289, allocations: 10.88 kB / 294.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.129, allocations: 14.77 kB / 294.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.1291, allocations: 35.78 kB / 294.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.1291, allocations: 13.44 kB / 294.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.188e-05/0.1292, allocations: 40 kB / 294.2 MB, free: 18.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1292, allocations: 0 / 294.2 MB, free: 18.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003823/0.1296, allocations: 150.8 kB / 294.3 MB, free: 18.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.0002095/0.1298, allocations: 128.8 kB / 294.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000469/0.1302, allocations: 393.9 kB / 294.8 MB, free: 18.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.1302, allocations: 2.312 kB / 294.8 MB, free: 18.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.1305, allocations: 291.3 kB / 295.1 MB, free: 18.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.1306, allocations: 30.59 kB / 295.2 MB, free: 18.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009991/0.1316, allocations: 0.7369 MB / 295.9 MB, free: 18.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.426e-05/0.1317, allocations: 109.9 kB / 296 MB, free: 18.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1318, allocations: 46.72 kB / 296 MB, free: 18.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1319, allocations: 96.61 kB / 296.1 MB, free: 18.08 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1319, allocations: 3.828 kB / 296.1 MB, free: 18.08 MB / 266.7 MB Notification: Performance of Templates: time 0.007142/0.1391, allocations: 4.692 MB / 300.8 MB, free: 17.64 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 -s gbode -gbm=radauIIA3 -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.6810924797318876]