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.001355/0.001355, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001493/0.001493, allocations: 209.3 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001599/0.001599, allocations: 59.91 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2674, allocations: 53.36 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005388/0.2728, allocations: 3.395 MB / 435 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.2755, allocations: 1.4 MB / 436.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.2757, allocations: 15.94 kB / 436.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.2776, allocations: 0.6922 MB / 437.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008887/0.2785, allocations: 390 kB / 437.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2796, allocations: 0.5154 MB / 438 MB, free: 320 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005228/0.2801, allocations: 462 kB / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007162/0.2808, allocations: 437.7 kB / 438.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.2811, allocations: 223.2 kB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.2815, allocations: 267 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/0.2816, allocations: 44 kB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.2819, allocations: 219.8 kB / 439.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.94e-05/0.282, allocations: 107.5 kB / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.2822, allocations: 195.1 kB / 439.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008563/0.2831, allocations: 0.7083 MB / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2831, allocations: 0 / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2831, allocations: 0 / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2831, allocations: 4 kB / 440.6 MB, free: 13.68 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.002215/0.2853, allocations: 0.8523 MB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2854, allocations: 12.03 kB / 441.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003699/0.2891, allocations: 476.1 kB / 441.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.2895, allocations: 252.8 kB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.2896, allocations: 41.67 kB / 442.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.2897, allocations: 52.38 kB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.2907, allocations: 0.5549 MB / 442.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.2908, allocations: 0 / 442.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/0.2908, allocations: 20 kB / 442.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.2908, allocations: 12 kB / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.292, allocations: 0.5829 MB / 443.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.2949, allocations: 1.509 MB / 444.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.2965, allocations: 0.5506 MB / 445.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004845/0.2969, allocations: 222.1 kB / 445.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-05/0.297, allocations: 28.36 kB / 445.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2971, allocations: 39 kB / 445.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.763e-06/0.2971, allocations: 4 kB / 445.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001933/0.299, allocations: 0.6597 MB / 446.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.299, allocations: 55.84 kB / 446.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.2992, allocations: 170.1 kB / 446.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.2993, allocations: 37.7 kB / 446.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.2994, allocations: 232.9 kB / 446.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.2996, allocations: 162.5 kB / 447.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.2997, allocations: 94.12 kB / 447.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2999, allocations: 326.8 kB / 447.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.3002, allocations: 156.9 kB / 447.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.3006, allocations: 241.9 kB / 447.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007892/0.3014, allocations: 412.9 kB / 448.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3014, allocations: 0 / 448.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001116/0.3026, allocations: 0.5394 MB / 448.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.3026, allocations: 11.94 kB / 448.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3026, allocations: 0 / 448.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003904/0.303, allocations: 89.06 kB / 448.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.3034, allocations: 91.89 kB / 449 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.3053, allocations: 1.632 MB / 450.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.3056, allocations: 39.73 kB / 450.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.3056, allocations: 19.98 kB / 450.7 MB, free: 3.191 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.0003421/0.306, allocations: 173.6 kB / 450.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.3061, allocations: 23.86 kB / 450.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.3075, allocations: 0.5349 MB / 451.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3075, allocations: 12 kB / 451.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3075, allocations: 0 / 451.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.3075, allocations: 3.984 kB / 451.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.3095, allocations: 0.9876 MB / 452.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3095, allocations: 0 / 452.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.3099, allocations: 83.97 kB / 452.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003374/0.3102, allocations: 84.77 kB / 452.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.3103, allocations: 12 kB / 452.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.3123, allocations: 1.635 MB / 454.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3123, allocations: 0 / 454.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.3137, allocations: 0.799 MB / 455.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.3138, allocations: 35.83 kB / 455.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.3138, allocations: 15.94 kB / 455.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.3141, allocations: 15.98 kB / 455.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.3142, allocations: 40.36 kB / 455.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.3142, allocations: 12 kB / 455.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.3143, allocations: 124.1 kB / 455.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3143, allocations: 0 / 455.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000556/0.3149, allocations: 151.7 kB / 455.4 MB, free: 14.27 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.0002765/0.3152, allocations: 143.2 kB / 455.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.3163, allocations: 0.5463 MB / 456.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3163, allocations: 0 / 456.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006046/0.3169, allocations: 349.8 kB / 456.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.3173, allocations: 43.77 kB / 456.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3187, allocations: 0.828 MB / 457.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.3189, allocations: 208.7 kB / 457.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.3191, allocations: 46.95 kB / 457.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.958e-05/0.3192, allocations: 39.36 kB / 457.6 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3192, allocations: 0 / 457.6 MB, free: 12 MB / 366.1 MB Notification: Performance of Templates: time 0.01071/0.3299, allocations: 4.836 MB / 462.5 MB, free: 7.203 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.734239535406232]