Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.001911/0.001911, allocations: 102.5 kB / 21.93 MB, free: 5.203 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.001959/0.001959, allocations: 203.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 207.7 MB / 236.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 55.94 kB / 348.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2639, allocations: 49.16 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005139/0.269, allocations: 3.427 MB / 401 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002673/0.2717, allocations: 1.379 MB / 402.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.2719, allocations: 10.16 kB / 402.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.2736, allocations: 0.7092 MB / 403.1 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009873/0.2746, allocations: 401.6 kB / 403.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.2756, allocations: 0.5169 MB / 404 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005341/0.2761, allocations: 486.4 kB / 404.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005292/0.2767, allocations: 371.2 kB / 404.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.277, allocations: 224.3 kB / 405.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.2773, allocations: 246.8 kB / 405.3 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.233e-05/0.2773, allocations: 46.38 kB / 405.4 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.2778, allocations: 201 kB / 405.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.2779, allocations: 113.6 kB / 405.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.2781, allocations: 199.1 kB / 405.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009118/0.279, allocations: 0.7068 MB / 406.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.279, allocations: 1.375 kB / 406.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.279, allocations: 0 / 406.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.996e-05/0.279, allocations: 4 kB / 406.6 MB, free: 4.008 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002069/0.2811, allocations: 0.8665 MB / 407.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2811, allocations: 17.48 kB / 407.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.2853, allocations: 0.5922 MB / 408.1 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.286, allocations: 254.8 kB / 408.3 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.286, allocations: 41.06 kB / 408.4 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.2862, allocations: 58.06 kB / 408.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.2873, allocations: 0.5859 MB / 409 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.2873, allocations: 0 / 409 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/0.2874, allocations: 21.09 kB / 409 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.2874, allocations: 14 kB / 409 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.2886, allocations: 0.6284 MB / 409.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.2913, allocations: 1.578 MB / 411.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.2929, allocations: 0.6301 MB / 411.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.2932, allocations: 190.8 kB / 412.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.672e-05/0.2933, allocations: 13.52 kB / 412.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.2933, allocations: 38.41 kB / 412.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.805e-06/0.2933, allocations: 4 kB / 412.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001759/0.295, allocations: 0.7163 MB / 412.8 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.2951, allocations: 57.22 kB / 412.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.2952, allocations: 198.2 kB / 413.1 MB, free: 444 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.2952, allocations: 31.58 kB / 413.1 MB, free: 408 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.2953, allocations: 251.9 kB / 413.3 MB, free: 172 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.129e-05/0.2954, allocations: 170.4 kB / 413.5 MB, free: 20 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.2956, allocations: 96.44 kB / 413.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2958, allocations: 336.6 kB / 413.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.2961, allocations: 159.5 kB / 414.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.2965, allocations: 277.6 kB / 414.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.2973, allocations: 461.4 kB / 414.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2973, allocations: 5.031 kB / 414.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001156/0.2985, allocations: 0.5798 MB / 415.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2985, allocations: 6.719 kB / 415.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2985, allocations: 3.906 kB / 415.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/0.2989, allocations: 97.36 kB / 415.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.2993, allocations: 104.6 kB / 415.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.3017, allocations: 1.908 MB / 417.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.302, allocations: 55.75 kB / 417.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.3021, allocations: 27.52 kB / 417.6 MB, free: 12.87 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002569/0.3023, allocations: 167.9 kB / 417.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.3024, allocations: 24.83 kB / 417.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.3036, allocations: 0.5535 MB / 418.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.3036, allocations: 5.5 kB / 418.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3036, allocations: 5.312 kB / 418.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3036, allocations: 3.938 kB / 418.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.3054, allocations: 0.9774 MB / 419.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3054, allocations: 0 / 419.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.3057, allocations: 76.67 kB / 419.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/0.306, allocations: 89.5 kB / 419.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.306, allocations: 11.64 kB / 419.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.3082, allocations: 1.899 MB / 421.4 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3082, allocations: 1.531 kB / 421.4 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.3097, allocations: 0.801 MB / 422.2 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.943e-05/0.3098, allocations: 40.77 kB / 422.2 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.3098, allocations: 6.312 kB / 422.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.3101, allocations: 17.53 kB / 422.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.3102, allocations: 36.7 kB / 422.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3102, allocations: 17.88 kB / 422.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3104, allocations: 145.4 kB / 422.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3104, allocations: 0 / 422.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007535/0.3111, allocations: 156 kB / 422.6 MB, free: 9.195 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002604/0.3114, allocations: 137.6 kB / 422.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.3126, allocations: 0.5626 MB / 423.3 MB, free: 8.758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3126, allocations: 1.156 kB / 423.3 MB, free: 8.758 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006157/0.3132, allocations: 362 kB / 423.7 MB, free: 8.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.3136, allocations: 28.12 kB / 423.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.3153, allocations: 0.8977 MB / 424.6 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.3156, allocations: 217.1 kB / 424.8 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3157, allocations: 35.42 kB / 424.8 MB, free: 7.273 MB / 334.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3157, allocations: 0 / 424.8 MB, free: 7.273 MB / 334.1 MB Notification: Performance of Templates: time 0.01085/0.3266, allocations: 6.765 MB / 431.6 MB, free: 0.4961 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.644022070802748]