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.0009062/0.0009062, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003807/0.004713, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009206/0.0009206, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001994, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9403/0.9403, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08146/1.022, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.203e-06/1.203e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.698e-05, allocations: 5.125 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003161/0.003178, allocations: 3.685 MB / 248.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.004815, allocations: 1.487 MB / 249.7 MB, free: 9.129 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.004965, allocations: 8 kB / 249.7 MB, free: 9.121 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008706/0.005835, allocations: 0.7969 MB / 250.5 MB, free: 8.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006054/0.006441, allocations: 385.8 kB / 250.9 MB, free: 7.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.007045, allocations: 0.5291 MB / 251.4 MB, free: 7.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.007396, allocations: 477.8 kB / 251.9 MB, free: 6.941 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004407/0.007837, allocations: 422.9 kB / 252.3 MB, free: 6.523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.008148, allocations: 319.3 kB / 252.6 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.008339, allocations: 211.4 kB / 252.8 MB, free: 6.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.008381, allocations: 44 kB / 252.8 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.008693, allocations: 219.7 kB / 253.1 MB, free: 5.746 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.00874, allocations: 79.69 kB / 253.1 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.429e-05/0.008834, allocations: 127.8 kB / 253.3 MB, free: 5.543 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.009311, allocations: 474.3 kB / 253.7 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.53e-05/0.009326, allocations: 4 kB / 253.7 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.009327, allocations: 0 / 253.7 MB, free: 5.074 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.009342, allocations: 4 kB / 253.7 MB, free: 5.07 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.001324/0.01067, allocations: 1.043 MB / 254.8 MB, free: 3.984 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.0107, allocations: 8.031 kB / 254.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.01242, allocations: 0.6407 MB / 255.4 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.01266, allocations: 196.2 kB / 255.6 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.01269, allocations: 41.62 kB / 255.6 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.01274, allocations: 56.31 kB / 255.7 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.0131, allocations: 393.3 kB / 256.1 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.01312, allocations: 4.141 kB / 256.1 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.01314, allocations: 24.12 kB / 256.1 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.01315, allocations: 12 kB / 256.1 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.01341, allocations: 238.2 kB / 256.4 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.0148, allocations: 1.209 MB / 257.6 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/0.01545, allocations: 0.498 MB / 258.1 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.0156, allocations: 137.7 kB / 258.2 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.589e-05/0.01565, allocations: 28.42 kB / 258.2 MB, free: 436 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.01567, allocations: 35.06 kB / 258.3 MB, free: 392 kB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.783e-06/0.01567, allocations: 0 / 258.3 MB, free: 392 kB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005896/0.01626, allocations: 386.6 kB / 258.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.01629, allocations: 55.91 kB / 258.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.662e-05/0.01637, allocations: 177.1 kB / 258.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.01639, allocations: 29.7 kB / 258.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.01647, allocations: 217 kB / 259.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/0.01654, allocations: 166.6 kB / 259.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/0.01662, allocations: 90.09 kB / 259.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.0167, allocations: 330.8 kB / 259.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.01676, allocations: 52.97 kB / 259.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.448e-05/0.01685, allocations: 142 kB / 259.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.01704, allocations: 241.8 kB / 260.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01704, allocations: 0 / 260.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003192/0.01736, allocations: 318.9 kB / 260.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.01738, allocations: 8 kB / 260.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01738, allocations: 0 / 260.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.0176, allocations: 85.02 kB / 260.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.01781, allocations: 111.8 kB / 260.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008549/0.01866, allocations: 1.386 MB / 262 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.01877, allocations: 47.67 kB / 262.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.01879, allocations: 15.98 kB / 262.1 MB, free: 12.36 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 9.812e-05/0.01889, allocations: 133.7 kB / 262.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.01893, allocations: 35.91 kB / 262.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.01928, allocations: 318.2 kB / 262.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.01929, allocations: 4 kB / 262.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01929, allocations: 0 / 262.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.01929, allocations: 4 kB / 262.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005915/0.01988, allocations: 0.6272 MB / 263.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01989, allocations: 0 / 263.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.02006, allocations: 87.89 kB / 263.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.02008, allocations: 39.78 kB / 263.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/0.02026, allocations: 77.02 kB / 263.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.02027, allocations: 8 kB / 263.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007128/0.02098, allocations: 1.374 MB / 264.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.02099, allocations: 3.938 kB / 264.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.02138, allocations: 465.6 kB / 265.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.0214, allocations: 4 kB / 265.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.02149, allocations: 16 kB / 265.2 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.02156, allocations: 36.42 kB / 265.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.02157, allocations: 12 kB / 265.3 MB, free: 8.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.237e-05/0.0216, allocations: 41.41 kB / 265.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0216, allocations: 0 / 265.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.02189, allocations: 151.7 kB / 265.5 MB, free: 8.781 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.0001628/0.02205, allocations: 136.2 kB / 265.6 MB, free: 8.641 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.02243, allocations: 389.6 kB / 266 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.02244, allocations: 4 kB / 266 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.02266, allocations: 295.8 kB / 266.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.02285, allocations: 55.94 kB / 266.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.02654, allocations: 0.741 MB / 267.1 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.993e-05/0.02661, allocations: 114.1 kB / 267.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.02673, allocations: 50.94 kB / 267.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.02684, allocations: 95.36 kB / 267.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02684, allocations: 0 / 267.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of Templates: time 0.006959/0.0338, allocations: 4.737 MB / 272.1 MB, free: 2.133 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 -ignoreHideResult -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.5561233991757035]