Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001546/0.001546, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001556/0.001556, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.469/1.469, allocations: 207.7 MB / 235.3 MB, free: 9.816 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [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.002113/0.002113, allocations: 51.92 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3158, allocations: 49.16 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004431/0.3202, allocations: 3.417 MB / 400.3 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.3227, allocations: 1.384 MB / 401.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.3229, allocations: 8.5 kB / 401.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.3247, allocations: 0.7054 MB / 402.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009795/0.3257, allocations: 409 kB / 402.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009974/0.3267, allocations: 0.5145 MB / 403.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005119/0.3272, allocations: 0.4899 MB / 403.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006664/0.3279, allocations: 427.2 kB / 404.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.3282, allocations: 235.2 kB / 404.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.3285, allocations: 251.8 kB / 404.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.048e-05/0.3286, allocations: 50.12 kB / 404.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004059/0.329, allocations: 205.3 kB / 404.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.56e-05/0.3291, allocations: 116.4 kB / 405 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.3293, allocations: 204.1 kB / 405.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000892/0.3302, allocations: 0.7276 MB / 406 MB, free: 3.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3302, allocations: 1.938 kB / 406 MB, free: 3.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3302, allocations: 0 / 406 MB, free: 3.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3302, allocations: 0.5156 kB / 406 MB, free: 3.938 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.002091/0.3323, allocations: 0.8739 MB / 406.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3323, allocations: 14.19 kB / 406.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004264/0.3366, allocations: 0.5945 MB / 407.4 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.3371, allocations: 260.3 kB / 407.7 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.3371, allocations: 40.72 kB / 407.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/0.3372, allocations: 57.25 kB / 407.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3383, allocations: 0.5958 MB / 408.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.3383, allocations: 1.188 kB / 408.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.3384, allocations: 21.11 kB / 408.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.3384, allocations: 14.16 kB / 408.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.3396, allocations: 0.6404 MB / 409.1 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.3423, allocations: 1.586 MB / 410.6 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.3439, allocations: 0.6151 MB / 411.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.3444, allocations: 241.4 kB / 411.5 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.739e-05/0.3445, allocations: 10.69 kB / 411.5 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.3445, allocations: 45.69 kB / 411.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.635e-06/0.3445, allocations: 0 / 411.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001713/0.3462, allocations: 0.6736 MB / 412.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.3462, allocations: 57.25 kB / 412.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.3464, allocations: 197.8 kB / 412.5 MB, free: 356 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.3465, allocations: 39.52 kB / 412.5 MB, free: 312 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.3466, allocations: 245 kB / 412.8 MB, free: 84 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.3467, allocations: 174.2 kB / 412.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.3469, allocations: 95.28 kB / 413 MB, free: 15.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.347, allocations: 337.6 kB / 413.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.3474, allocations: 158.5 kB / 413.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.3478, allocations: 283 kB / 413.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008335/0.3487, allocations: 484.3 kB / 414.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3487, allocations: 5.062 kB / 414.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001177/0.3499, allocations: 0.5825 MB / 414.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3499, allocations: 7.688 kB / 414.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3499, allocations: 2.812 kB / 414.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.3503, allocations: 77.53 kB / 414.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.3507, allocations: 116.3 kB / 415 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.3528, allocations: 1.64 MB / 416.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.3531, allocations: 51.47 kB / 416.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.3532, allocations: 37.69 kB / 416.8 MB, free: 12.97 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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.000238/0.3534, allocations: 164.3 kB / 416.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.3535, allocations: 31.86 kB / 417 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.3547, allocations: 0.5497 MB / 417.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3547, allocations: 5.781 kB / 417.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3547, allocations: 1.062 kB / 417.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.3547, allocations: 5.141 kB / 417.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.3566, allocations: 1.002 MB / 418.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3566, allocations: 5.312 kB / 418.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.357, allocations: 83.14 kB / 418.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002791/0.3572, allocations: 77.66 kB / 418.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.3573, allocations: 18.77 kB / 418.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.3592, allocations: 1.625 MB / 420.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3592, allocations: 1.25 kB / 420.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.3607, allocations: 0.813 MB / 421.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.3607, allocations: 37.36 kB / 421.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.3608, allocations: 12 kB / 421.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.361, allocations: 16.44 kB / 421.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3611, allocations: 42.02 kB / 421.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.3612, allocations: 18.84 kB / 421.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.3613, allocations: 141 kB / 421.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3613, allocations: 0 / 421.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006653/0.362, allocations: 156 kB / 421.6 MB, free: 9.48 MB / 334.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 (46): * Single equations (assignments): 45 * 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.0002818/0.3623, allocations: 136.8 kB / 421.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.3635, allocations: 0.5743 MB / 422.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3635, allocations: 0 / 422.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006261/0.3641, allocations: 362.2 kB / 422.6 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3645, allocations: 33.06 kB / 422.6 MB, free: 8.777 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.3662, allocations: 0.8768 MB / 423.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.3664, allocations: 213.1 kB / 423.7 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002187/0.3667, allocations: 54.94 kB / 423.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.3668, allocations: 35.38 kB / 423.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3668, allocations: 0 / 423.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of Templates: time 0.01052/0.3773, allocations: 4.697 MB / 428.5 MB, free: 2.84 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.729955360293388]