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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 106 kB / 21.18 MB, free: 0.7188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 189.2 kB / 24.47 MB, free: 4.09 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.368/1.368, allocations: 207.6 MB / 235.2 MB, free: 10.04 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 59.89 kB / 347.7 MB, free: 9.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2758, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004435/0.2802, allocations: 3.775 MB / 400.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.2827, allocations: 1.484 MB / 402.1 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.2829, allocations: 12.88 kB / 402.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.2846, allocations: 0.7665 MB / 402.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.2857, allocations: 0.5793 MB / 403.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.2865, allocations: 416 kB / 403.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004665/0.2869, allocations: 483.5 kB / 404.3 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004836/0.2874, allocations: 313.4 kB / 404.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.2877, allocations: 222.4 kB / 404.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.288, allocations: 285.9 kB / 405.1 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.2881, allocations: 43.22 kB / 405.1 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004697/0.2885, allocations: 206.7 kB / 405.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.2886, allocations: 116 kB / 405.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.2889, allocations: 245 kB / 405.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008414/0.2897, allocations: 0.7045 MB / 406.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2897, allocations: 4.969 kB / 406.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2897, allocations: 7.938 kB / 406.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.2897, allocations: 1.625 kB / 406.4 MB, free: 3.438 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.002169/0.2919, allocations: 0.8571 MB / 407.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.2919, allocations: 14.67 kB / 407.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004268/0.2962, allocations: 0.591 MB / 407.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.2967, allocations: 254.7 kB / 408.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.2967, allocations: 45.06 kB / 408.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.2968, allocations: 57.5 kB / 408.2 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.2979, allocations: 0.5559 MB / 408.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.2979, allocations: 5.078 kB / 408.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.2979, allocations: 29.69 kB / 408.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.298, allocations: 13.94 kB / 408.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2991, allocations: 0.6321 MB / 409.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.3017, allocations: 1.804 MB / 411.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.3033, allocations: 0.6465 MB / 411.9 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.3036, allocations: 190 kB / 412.1 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-05/0.3037, allocations: 13.88 kB / 412.1 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.3037, allocations: 37.38 kB / 412.2 MB, free: 348 kB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.923e-06/0.3037, allocations: 0 / 412.2 MB, free: 348 kB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001787/0.3055, allocations: 0.7218 MB / 412.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.3055, allocations: 56.94 kB / 412.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.3058, allocations: 201.2 kB / 413.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.3058, allocations: 39.52 kB / 413.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.306, allocations: 239.2 kB / 413.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.3061, allocations: 183.6 kB / 413.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.3063, allocations: 97.75 kB / 413.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3064, allocations: 337.5 kB / 414 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.3068, allocations: 158.6 kB / 414.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.3072, allocations: 282.7 kB / 414.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.3079, allocations: 463.7 kB / 414.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3079, allocations: 1.375 kB / 414.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001117/0.3091, allocations: 0.572 MB / 415.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3091, allocations: 14.62 kB / 415.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3091, allocations: 3.25 kB / 415.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003569/0.3095, allocations: 97.39 kB / 415.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.3099, allocations: 101.6 kB / 415.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.3122, allocations: 1.941 MB / 417.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.3125, allocations: 55.84 kB / 417.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.3125, allocations: 29.25 kB / 417.7 MB, free: 12.12 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.0002378/0.3128, allocations: 175.1 kB / 417.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.3128, allocations: 24.39 kB / 417.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.314, allocations: 0.5495 MB / 418.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.314, allocations: 5.156 kB / 418.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.314, allocations: 2.531 kB / 418.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.314, allocations: 4 kB / 418.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.3158, allocations: 1.108 MB / 419.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3158, allocations: 0 / 419.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.3161, allocations: 77.45 kB / 419.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/0.3164, allocations: 92.28 kB / 419.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.3164, allocations: 11.95 kB / 419.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.3186, allocations: 1.938 MB / 421.7 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3186, allocations: 0 / 421.7 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.32, allocations: 0.7927 MB / 422.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.3201, allocations: 50.33 kB / 422.5 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.3201, allocations: 5.469 kB / 422.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.3204, allocations: 28.48 kB / 422.6 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/0.3205, allocations: 33.88 kB / 422.6 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.3205, allocations: 14 kB / 422.6 MB, free: 8.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.3207, allocations: 150.3 kB / 422.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3207, allocations: 0 / 422.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000659/0.3213, allocations: 160.8 kB / 422.9 MB, free: 8.273 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.0002288/0.3216, allocations: 136.5 kB / 423 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3227, allocations: 0.5588 MB / 423.6 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3227, allocations: 1.75 kB / 423.6 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005881/0.3233, allocations: 367 kB / 424 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.3236, allocations: 34.02 kB / 424 MB, free: 7.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.3252, allocations: 0.8572 MB / 424.8 MB, free: 6.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.3256, allocations: 0.8172 MB / 425.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.3258, allocations: 51.25 kB / 425.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-05/0.3259, allocations: 31.38 kB / 425.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3259, allocations: 0 / 425.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of Templates: time 0.01108/0.337, allocations: 4.829 MB / 430.6 MB, free: 0.9414 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/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: 4.462077874690294]