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.001725/0.001725, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002035/0.002035, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.555/1.555, allocations: 230.5 MB / 258.1 MB, free: 7.977 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.002012/0.002012, allocations: 56.14 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2691, allocations: 53.41 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005738/0.2749, allocations: 3.752 MB / 436.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.2779, allocations: 1.515 MB / 437.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.2783, allocations: 8 kB / 437.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.2803, allocations: 0.7545 MB / 438.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.2813, allocations: 398 kB / 438.9 MB, free: 304 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.2826, allocations: 0.5634 MB / 439.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006866/0.2833, allocations: 466 kB / 439.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008265/0.2841, allocations: 431.3 kB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004243/0.2845, allocations: 231.1 kB / 440.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.2849, allocations: 271 kB / 440.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.798e-05/0.285, allocations: 44 kB / 440.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004884/0.2855, allocations: 211.9 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2856, allocations: 111.6 kB / 441.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.2859, allocations: 242.8 kB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009901/0.2869, allocations: 0.6967 MB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2869, allocations: 3.938 kB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2869, allocations: 0 / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.2869, allocations: 0 / 442.1 MB, free: 13.07 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.002325/0.2892, allocations: 0.859 MB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2893, allocations: 12.03 kB / 443 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003513/0.2928, allocations: 476.1 kB / 443.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.2933, allocations: 241.9 kB / 443.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.2934, allocations: 41.69 kB / 443.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.2935, allocations: 52.38 kB / 443.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.2946, allocations: 0.5298 MB / 444.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.2946, allocations: 3.984 kB / 444.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.295e-05/0.2947, allocations: 20 kB / 444.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.2947, allocations: 19.94 kB / 444.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.2958, allocations: 0.5829 MB / 444.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00337/0.2992, allocations: 1.723 MB / 446.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.3007, allocations: 0.5599 MB / 447.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.3012, allocations: 240.7 kB / 447.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.592e-05/0.3013, allocations: 24.39 kB / 447.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.3014, allocations: 35 kB / 447.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.405e-06/0.3014, allocations: 0 / 447.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001862/0.3032, allocations: 0.6636 MB / 448.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.3033, allocations: 55.84 kB / 448.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.3035, allocations: 191 kB / 448.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.3035, allocations: 29.7 kB / 448.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.3037, allocations: 233 kB / 448.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.3039, allocations: 170.5 kB / 448.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.304, allocations: 82.17 kB / 448.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3042, allocations: 338.8 kB / 449.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.3045, allocations: 156.9 kB / 449.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.3049, allocations: 237.9 kB / 449.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/0.3056, allocations: 416.8 kB / 450 MB, free: 4.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3056, allocations: 0 / 450 MB, free: 4.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001097/0.3067, allocations: 0.5394 MB / 450.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3067, allocations: 4 kB / 450.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3067, allocations: 4.281 kB / 450.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003902/0.3071, allocations: 88.73 kB / 450.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.3075, allocations: 95.88 kB / 450.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.3096, allocations: 1.67 MB / 452.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.3099, allocations: 51.73 kB / 452.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.3099, allocations: 19.98 kB / 452.5 MB, free: 2.277 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.0002545/0.3101, allocations: 165.7 kB / 452.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.949e-05/0.3102, allocations: 27.81 kB / 452.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.3115, allocations: 0.5278 MB / 453.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3115, allocations: 8 kB / 453.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3115, allocations: 4 kB / 453.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.3115, allocations: 3.984 kB / 453.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.3134, allocations: 1.112 MB / 454.3 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3134, allocations: 7.938 kB / 454.3 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.3138, allocations: 83.83 kB / 454.4 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002853/0.3141, allocations: 84.72 kB / 454.5 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.3142, allocations: 12 kB / 454.5 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.3161, allocations: 1.663 MB / 456.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3161, allocations: 0 / 456.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.3175, allocations: 0.8069 MB / 457 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.3175, allocations: 31.72 kB / 457 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.3176, allocations: 12 kB / 457 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.3178, allocations: 15.98 kB / 457 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/0.3179, allocations: 40.31 kB / 457.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.3179, allocations: 19.98 kB / 457.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3181, allocations: 135.2 kB / 457.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3181, allocations: 0 / 457.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005443/0.3186, allocations: 147.7 kB / 457.4 MB, free: 13.16 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.000269/0.3189, allocations: 139.2 kB / 457.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.32, allocations: 0.5543 MB / 458.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.32, allocations: 0 / 458.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005966/0.3206, allocations: 349 kB / 458.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.321, allocations: 35.89 kB / 458.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.3225, allocations: 0.8684 MB / 459.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.3229, allocations: 0.8045 MB / 460.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3231, allocations: 43.42 kB / 460.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3231, allocations: 0 / 460.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of Templates: time 0.01075/0.3338, allocations: 6.557 MB / 466.7 MB, free: 3.719 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.6438331180252135]