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.0013/0.0013, allocations: 111.6 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001505/0.001505, allocations: 219.4 kB / 24.48 MB, free: 3.965 MB / 14.72 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 1.43/1.43, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001992/0.001992, allocations: 63.91 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2347, allocations: 53.41 MB / 432.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005256/0.2399, allocations: 3.405 MB / 435.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.2425, allocations: 1.394 MB / 437.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.2427, allocations: 8 kB / 437.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.2445, allocations: 0.6961 MB / 437.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009434/0.2455, allocations: 385.2 kB / 438.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.2465, allocations: 0.5272 MB / 438.8 MB, free: 132 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000549/0.2471, allocations: 466 kB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006947/0.2478, allocations: 426 kB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.2481, allocations: 227.2 kB / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.2485, allocations: 231 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.2485, allocations: 44 kB / 440.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/0.249, allocations: 207.8 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.361e-05/0.249, allocations: 107.6 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.2492, allocations: 199.1 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008638/0.2501, allocations: 0.7035 MB / 441.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2501, allocations: 0 / 441.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2501, allocations: 0 / 441.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2501, allocations: 0 / 441.4 MB, free: 13.55 MB / 350.1 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.002065/0.2522, allocations: 0.8563 MB / 442.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2522, allocations: 11.98 kB / 442.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0034/0.2556, allocations: 476.1 kB / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.2561, allocations: 253.8 kB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.2561, allocations: 41.69 kB / 443 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/0.2562, allocations: 48.38 kB / 443 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.2573, allocations: 0.5549 MB / 443.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.2573, allocations: 4 kB / 443.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.295e-05/0.2573, allocations: 20 kB / 443.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.2574, allocations: 12 kB / 443.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.2584, allocations: 0.5751 MB / 444.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.2613, allocations: 1.509 MB / 445.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.2628, allocations: 0.5412 MB / 446.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004801/0.2632, allocations: 234 kB / 446.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.798e-05/0.2633, allocations: 28.36 kB / 446.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.2634, allocations: 46.92 kB / 446.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.2634, allocations: 0 / 446.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001787/0.2652, allocations: 0.6597 MB / 447.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.2652, allocations: 59.84 kB / 447.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.2654, allocations: 178.7 kB / 447.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.2654, allocations: 33.7 kB / 447.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.2656, allocations: 225 kB / 447.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.2657, allocations: 170.5 kB / 447.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.2659, allocations: 90.12 kB / 447.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2661, allocations: 334.8 kB / 448.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.2664, allocations: 152.9 kB / 448.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.2668, allocations: 237.9 kB / 448.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/0.2675, allocations: 416.9 kB / 449.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2675, allocations: 0 / 449.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001075/0.2686, allocations: 0.5394 MB / 449.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2686, allocations: 4 kB / 449.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.683e-05/0.2687, allocations: 12.27 kB / 449.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/0.269, allocations: 76.8 kB / 449.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.2694, allocations: 99.83 kB / 449.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.2713, allocations: 1.636 MB / 451.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.2716, allocations: 43.72 kB / 451.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.2716, allocations: 16 kB / 451.5 MB, free: 3.047 MB / 350.1 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.0002133/0.2718, allocations: 169.7 kB / 451.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.2719, allocations: 23.86 kB / 451.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.2731, allocations: 0.5466 MB / 452.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2731, allocations: 4 kB / 452.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2731, allocations: 0 / 452.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2731, allocations: 4 kB / 452.2 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.2748, allocations: 0.9876 MB / 453.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2748, allocations: 0 / 453.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.2751, allocations: 79.89 kB / 453.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002733/0.2754, allocations: 72.81 kB / 453.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.2754, allocations: 19.92 kB / 453.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.2772, allocations: 1.628 MB / 455 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2772, allocations: 0 / 455 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.2786, allocations: 0.807 MB / 455.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.2787, allocations: 39.69 kB / 455.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.2787, allocations: 8 kB / 455.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.2789, allocations: 19.98 kB / 455.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.279, allocations: 36.38 kB / 455.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.2791, allocations: 19.98 kB / 455.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.2792, allocations: 127.2 kB / 456.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2792, allocations: 0 / 456.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005448/0.2797, allocations: 147.7 kB / 456.2 MB, free: 14.12 MB / 366.1 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.0002504/0.28, allocations: 139.2 kB / 456.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.2811, allocations: 0.5463 MB / 456.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2811, allocations: 4 kB / 456.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005948/0.2817, allocations: 353.7 kB / 457.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.282, allocations: 31.84 kB / 457.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.2834, allocations: 0.8523 MB / 458.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.2837, allocations: 204.8 kB / 458.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.2838, allocations: 39.42 kB / 458.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2838, allocations: 0 / 458.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of Templates: time 0.009783/0.2936, allocations: 6.661 MB / 465 MB, free: 5.207 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.397071870043874]