Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001171/0.001171, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001865/0.003036, 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.00129/0.00129, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001698/0.002988, 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.9698/0.9698, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07542/1.045, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031e-05/1.141e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003283/0.003294, allocations: 3.682 MB / 248.7 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.00477, allocations: 1.483 MB / 250.2 MB, free: 8.469 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.004885, allocations: 8 kB / 250.2 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008042/0.005689, allocations: 0.7969 MB / 251 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.006186, allocations: 389.8 kB / 251.4 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/0.006756, allocations: 0.5322 MB / 251.9 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.007062, allocations: 473.8 kB / 252.3 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000593/0.007655, allocations: 356 kB / 252.7 MB, free: 5.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.007939, allocations: 307.3 kB / 253 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.008129, allocations: 207.5 kB / 253.2 MB, free: 5.426 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.00817, allocations: 40 kB / 253.2 MB, free: 5.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.008455, allocations: 227.6 kB / 253.5 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.008499, allocations: 71.75 kB / 253.5 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.84e-05/0.008587, allocations: 127.8 kB / 253.7 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.009002, allocations: 470.3 kB / 254.1 MB, free: 4.508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.009015, allocations: 0 / 254.1 MB, free: 4.508 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.009015, allocations: 0 / 254.1 MB, free: 4.508 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.00903, allocations: 4 kB / 254.1 MB, free: 4.504 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.00121/0.01024, allocations: 1.027 MB / 255.1 MB, free: 3.434 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.599e-05/0.01027, allocations: 8.031 kB / 255.2 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.01197, allocations: 0.6524 MB / 255.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.01217, allocations: 177.1 kB / 256 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.0122, allocations: 45.62 kB / 256 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.01225, allocations: 56.33 kB / 256.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.01259, allocations: 385.3 kB / 256.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.0126, allocations: 192 / 256.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.01263, allocations: 24.12 kB / 256.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.01264, allocations: 16 kB / 256.5 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.01289, allocations: 234.2 kB / 256.7 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.01415, allocations: 1.19 MB / 257.9 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006565/0.01481, allocations: 0.5081 MB / 258.4 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.408e-05/0.0149, allocations: 98.23 kB / 258.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.01495, allocations: 20.48 kB / 258.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.01497, allocations: 43 kB / 258.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.703e-06/0.01497, allocations: 0 / 258.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006593/0.01563, allocations: 430.5 kB / 259 MB, free: 15.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.01565, allocations: 55.91 kB / 259.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.01574, allocations: 171.1 kB / 259.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.01576, allocations: 29.7 kB / 259.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.23e-05/0.01583, allocations: 225 kB / 259.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.402e-05/0.0159, allocations: 170.5 kB / 259.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.0162, allocations: 82.16 kB / 259.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.01627, allocations: 334.8 kB / 260 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.01633, allocations: 56.97 kB / 260.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.785e-05/0.01642, allocations: 124.3 kB / 260.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.0166, allocations: 240.6 kB / 260.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.0166, allocations: 4 kB / 260.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0002972/0.0169, allocations: 307 kB / 260.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.01691, allocations: 4 kB / 260.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01691, allocations: 4 kB / 260.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/0.01712, allocations: 92.91 kB / 260.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.01732, allocations: 95.88 kB / 260.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008596/0.01818, allocations: 1.607 MB / 262.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.01828, allocations: 43.67 kB / 262.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.0183, allocations: 12 kB / 262.6 MB, free: 11.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.291e-05/0.01838, allocations: 133.8 kB / 262.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.01842, allocations: 27.98 kB / 262.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.01876, allocations: 330.2 kB / 263.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01876, allocations: 4 kB / 263.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01876, allocations: 3.938 kB / 263.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01877, allocations: 3.984 kB / 263.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.01931, allocations: 0.5989 MB / 263.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01931, allocations: 0 / 263.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.01947, allocations: 83.89 kB / 263.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.01949, allocations: 31.69 kB / 263.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001627/0.01966, allocations: 96.66 kB / 263.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.01967, allocations: 11.98 kB / 263.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007621/0.02043, allocations: 1.568 MB / 265.5 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.02043, allocations: 8.031 kB / 265.5 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.0208, allocations: 451.4 kB / 265.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.02082, allocations: 11.94 kB / 265.9 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.02091, allocations: 16 kB / 266 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.02097, allocations: 36.42 kB / 266 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.02098, allocations: 15.98 kB / 266 MB, free: 8.082 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.93e-05/0.02101, allocations: 36.86 kB / 266.1 MB, free: 8.043 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02101, allocations: 0 / 266.1 MB, free: 8.043 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.02131, allocations: 151.7 kB / 266.2 MB, free: 7.895 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000146/0.02145, allocations: 128.2 kB / 266.3 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.0218, allocations: 390 kB / 266.7 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.02181, allocations: 8.062 kB / 266.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.02223, allocations: 291 kB / 267 MB, free: 7.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.02241, allocations: 59.92 kB / 267.1 MB, free: 7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.026, allocations: 0.7353 MB / 267.8 MB, free: 6.234 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.572e-05/0.02606, allocations: 114.3 kB / 267.9 MB, free: 6.105 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.02616, allocations: 42.95 kB / 267.9 MB, free: 6.059 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.02627, allocations: 99.36 kB / 268 MB, free: 5.961 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02627, allocations: 0 / 268 MB, free: 5.961 MB / 266.7 MB Notification: Performance of Templates: time 0.006897/0.03317, allocations: 4.786 MB / 272.8 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.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.4253447372466326]