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.001031/0.001031, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002421, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001041/0.001041, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001275/0.002316, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.944/0.944, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07464/1.019, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.503e-06/1.503e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.359e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003478/0.003502, allocations: 3.689 MB / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.005045, allocations: 1.491 MB / 250.2 MB, free: 8.453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.005156, allocations: 8 kB / 250.2 MB, free: 8.445 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007753/0.005931, allocations: 0.7892 MB / 251 MB, free: 7.652 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.006407, allocations: 381.8 kB / 251.4 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.006929, allocations: 0.5369 MB / 251.9 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.007225, allocations: 477.8 kB / 252.4 MB, free: 6.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.007629, allocations: 418.9 kB / 252.8 MB, free: 5.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.007903, allocations: 327.2 kB / 253.1 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.008089, allocations: 211.4 kB / 253.3 MB, free: 5.328 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.008131, allocations: 48 kB / 253.3 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.008377, allocations: 219.6 kB / 253.6 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.00842, allocations: 79.75 kB / 253.6 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.008513, allocations: 127.8 kB / 253.8 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.008953, allocations: 474.3 kB / 254.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.008969, allocations: 0 / 254.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.008969, allocations: 0 / 254.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.008986, allocations: 0 / 254.2 MB, free: 4.398 MB / 250.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.001218/0.0102, allocations: 1.047 MB / 255.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.01023, allocations: 12.03 kB / 255.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.01191, allocations: 0.6446 MB / 255.9 MB, free: 2.652 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.01212, allocations: 185.2 kB / 256.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.01215, allocations: 41.62 kB / 256.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.01221, allocations: 56.33 kB / 256.2 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.01255, allocations: 389.3 kB / 256.6 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.01257, allocations: 4.188 kB / 256.6 MB, free: 1.949 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.0126, allocations: 28.12 kB / 256.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.0126, allocations: 12 kB / 256.6 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.01285, allocations: 234.2 kB / 256.9 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.01421, allocations: 1.213 MB / 258.1 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.01483, allocations: 0.4911 MB / 258.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.01497, allocations: 130.3 kB / 258.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.027e-05/0.01502, allocations: 32.36 kB / 258.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.01504, allocations: 43.05 kB / 258.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.813e-06/0.01505, allocations: 4 kB / 258.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.000567/0.01561, allocations: 382.6 kB / 259.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.01564, allocations: 55.91 kB / 259.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.01584, allocations: 171.1 kB / 259.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.01586, allocations: 37.69 kB / 259.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.01593, allocations: 217 kB / 259.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.016, allocations: 166.6 kB / 259.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.01608, allocations: 90.09 kB / 259.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.01615, allocations: 334.8 kB / 260.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.0162, allocations: 52.97 kB / 260.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.01629, allocations: 142 kB / 260.4 MB, free: 14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.01648, allocations: 245.8 kB / 260.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01648, allocations: 0 / 260.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0002961/0.01677, allocations: 311.2 kB / 260.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.01679, allocations: 8 kB / 260.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01679, allocations: 4 kB / 260.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/0.01701, allocations: 80.73 kB / 261 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.01721, allocations: 115.8 kB / 261.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007752/0.01798, allocations: 1.371 MB / 262.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.01808, allocations: 43.67 kB / 262.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.0181, allocations: 24.02 kB / 262.6 MB, free: 11.69 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 8.366e-05/0.01818, allocations: 133.7 kB / 262.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.01822, allocations: 35.91 kB / 262.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000583/0.0188, allocations: 322.2 kB / 263 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.01881, allocations: 4 kB / 263 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01881, allocations: 0 / 263 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.01881, allocations: 0 / 263 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000567/0.01938, allocations: 0.6312 MB / 263.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01938, allocations: 0 / 263.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.01955, allocations: 87.89 kB / 263.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.01957, allocations: 31.72 kB / 263.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/0.01973, allocations: 80.84 kB / 263.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.01975, allocations: 8 kB / 263.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007482/0.0205, allocations: 1.37 MB / 265.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.0205, allocations: 11.88 kB / 265.3 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.02088, allocations: 453.5 kB / 265.7 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.02091, allocations: 12 kB / 265.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.021, allocations: 16 kB / 265.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.02106, allocations: 36.42 kB / 265.8 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.02107, allocations: 16.06 kB / 265.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.468e-05/0.0211, allocations: 40.75 kB / 265.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.0211, allocations: 0 / 265.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.02137, allocations: 147.7 kB / 266 MB, free: 8.105 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.0001753/0.02155, allocations: 132.2 kB / 266.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.02193, allocations: 394 kB / 266.5 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.02194, allocations: 4 kB / 266.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.02214, allocations: 287.1 kB / 266.8 MB, free: 7.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.02234, allocations: 63.94 kB / 266.8 MB, free: 7.207 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.02588, allocations: 0.7492 MB / 267.6 MB, free: 6.426 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.191e-05/0.02594, allocations: 118.1 kB / 267.7 MB, free: 6.293 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.02605, allocations: 50.94 kB / 267.7 MB, free: 6.242 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.02616, allocations: 95.36 kB / 267.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02616, allocations: 4 kB / 267.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of Templates: time 0.0067/0.03286, allocations: 4.731 MB / 272.6 MB, free: 1.445 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 -ignoreHideResult -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.4706279719248414]