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.001289/0.001289, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001438/0.001438, allocations: 216.7 kB / 22.99 MB, free: 5.574 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.2 MB / 256.2 MB, free: 8.555 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.001872/0.001872, allocations: 67.88 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2294, allocations: 53.33 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00509/0.2345, allocations: 3.733 MB / 433.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.237, allocations: 1.515 MB / 435 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.2371, allocations: 12 kB / 435.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.2389, allocations: 0.7467 MB / 435.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000966/0.2399, allocations: 409.4 kB / 436.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.2409, allocations: 0.5565 MB / 436.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005452/0.2414, allocations: 462 kB / 437.2 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006273/0.2421, allocations: 373.5 kB / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.2424, allocations: 215.2 kB / 437.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.2427, allocations: 274.9 kB / 438.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.013e-05/0.2428, allocations: 48 kB / 438.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.2432, allocations: 211.8 kB / 438.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2433, allocations: 111.6 kB / 438.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.2435, allocations: 238.8 kB / 438.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008399/0.2443, allocations: 0.702 MB / 439.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2443, allocations: 0 / 439.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2443, allocations: 4 kB / 439.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2443, allocations: 0 / 439.4 MB, free: 13.94 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.002126/0.2465, allocations: 0.9238 MB / 440.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.2465, allocations: 12.03 kB / 440.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/0.25, allocations: 472.1 kB / 440.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.2505, allocations: 307.7 kB / 441.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.2505, allocations: 41.69 kB / 441.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.36e-05/0.2506, allocations: 48.38 kB / 441.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.2516, allocations: 0.5337 MB / 441.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.2516, allocations: 7.938 kB / 441.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.2517, allocations: 20 kB / 441.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.2517, allocations: 16 kB / 441.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.2528, allocations: 0.5751 MB / 442.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.2559, allocations: 1.958 MB / 444.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.2581, allocations: 2.124 MB / 446.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.2585, allocations: 238 kB / 446.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.2587, allocations: 174.6 kB / 446.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.2587, allocations: 35 kB / 446.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.555e-06/0.2588, allocations: 4 kB / 446.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001802/0.2606, allocations: 0.7389 MB / 447.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.2606, allocations: 55.84 kB / 447.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.2608, allocations: 190.3 kB / 447.8 MB, free: 4.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.2608, allocations: 33.7 kB / 447.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.261, allocations: 229 kB / 448.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.2611, allocations: 170.5 kB / 448.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.2612, allocations: 82.25 kB / 448.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2614, allocations: 338.8 kB / 448.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.2617, allocations: 153 kB / 448.8 MB, free: 3.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.2621, allocations: 242.5 kB / 449 MB, free: 3.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007007/0.2628, allocations: 424.8 kB / 449.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2628, allocations: 0 / 449.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001071/0.2638, allocations: 0.5394 MB / 450 MB, free: 2.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2639, allocations: 8 kB / 450 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2639, allocations: 288 / 450 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/0.2642, allocations: 84.8 kB / 450.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.2646, allocations: 99.77 kB / 450.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.2665, allocations: 1.774 MB / 451.9 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.2668, allocations: 51.78 kB / 452 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.2669, allocations: 20 kB / 452 MB, free: 356 kB / 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.0002029/0.2671, allocations: 176.6 kB / 452.2 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.2671, allocations: 27.81 kB / 452.2 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.2683, allocations: 0.5318 MB / 452.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2683, allocations: 8 kB / 452.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2683, allocations: 4 kB / 452.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2683, allocations: 3.984 kB / 452.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.2702, allocations: 1.132 MB / 453.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2702, allocations: 7.938 kB / 453.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.2705, allocations: 79.89 kB / 454 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002827/0.2708, allocations: 80.73 kB / 454 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.2708, allocations: 12 kB / 454.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.2727, allocations: 1.762 MB / 455.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2727, allocations: 4.031 kB / 455.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.2741, allocations: 0.8108 MB / 456.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.752e-05/0.2742, allocations: 108.9 kB / 456.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.2742, allocations: 12 kB / 456.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.2744, allocations: 15.98 kB / 456.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.2745, allocations: 32.39 kB / 456.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.2746, allocations: 31.92 kB / 456.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.2747, allocations: 131.2 kB / 457 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2747, allocations: 3.938 kB / 457 MB, free: 11.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005505/0.2752, allocations: 151.6 kB / 457.1 MB, free: 10.97 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.0002316/0.2755, allocations: 139.1 kB / 457.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.2765, allocations: 0.5542 MB / 457.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2765, allocations: 0 / 457.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.2771, allocations: 353 kB / 458.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.2775, allocations: 32.47 kB / 458.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.2789, allocations: 0.8424 MB / 459 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.2793, allocations: 0.8006 MB / 459.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.2795, allocations: 54.94 kB / 459.9 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.799e-05/0.2796, allocations: 27.44 kB / 459.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2796, allocations: 0 / 459.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of Templates: time 0.009783/0.2893, allocations: 4.636 MB / 464.5 MB, free: 3.465 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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: 4.410171779803932]