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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 114.4 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 183.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB 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.001136/0.001136, allocations: 51.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.104, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004746/0.1088, allocations: 3.738 MB / 378.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1982/0.307, allocations: 1.461 MB / 380.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.3073, allocations: 11.69 kB / 380.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.3089, allocations: 0.7561 MB / 381.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.3101, allocations: 0.5665 MB / 381.7 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007342/0.3108, allocations: 423.6 kB / 382.1 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.3113, allocations: 498.4 kB / 382.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000801/0.3121, allocations: 468.1 kB / 383 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.3125, allocations: 233.4 kB / 383.3 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.3128, allocations: 283 kB / 383.5 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/0.3129, allocations: 46.66 kB / 383.6 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.3134, allocations: 215 kB / 383.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.3134, allocations: 115.1 kB / 383.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.3137, allocations: 251.2 kB / 384.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.3145, allocations: 0.7216 MB / 384.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3145, allocations: 1.219 kB / 384.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3145, allocations: 0 / 384.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3145, allocations: 0 / 384.9 MB, free: 8.82 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.002/0.3165, allocations: 0.953 MB / 385.8 MB, free: 8.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3166, allocations: 12.41 kB / 385.8 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004218/0.3208, allocations: 0.5878 MB / 386.4 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.3212, allocations: 324.4 kB / 386.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.3213, allocations: 46.66 kB / 386.8 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.699e-05/0.3214, allocations: 53.59 kB / 386.8 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009687/0.3223, allocations: 0.5704 MB / 387.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.3224, allocations: 1.062 kB / 387.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.116e-05/0.3224, allocations: 25.34 kB / 387.4 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.3224, allocations: 13.59 kB / 387.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.3236, allocations: 0.6437 MB / 388.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/0.3265, allocations: 2.05 MB / 390.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.3283, allocations: 3.005 MB / 393.1 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.3288, allocations: 269.4 kB / 393.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.719e-05/0.3289, allocations: 91.39 kB / 393.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.3289, allocations: 46.45 kB / 393.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.144e-06/0.3289, allocations: 0 / 393.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.00165/0.3306, allocations: 0.7468 MB / 394.3 MB, free: 2.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.3306, allocations: 66.77 kB / 394.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3308, allocations: 200.5 kB / 394.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3308, allocations: 36.08 kB / 394.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.331, allocations: 248.8 kB / 394.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3311, allocations: 172.9 kB / 395 MB, free: 1.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.3312, allocations: 97.89 kB / 395.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.3313, allocations: 337.6 kB / 395.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.3316, allocations: 158.4 kB / 395.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.332, allocations: 290.5 kB / 395.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007853/0.3328, allocations: 482.1 kB / 396.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3328, allocations: 1.797 kB / 396.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001044/0.3339, allocations: 0.5863 MB / 396.9 MB, free: 444 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3339, allocations: 11.52 kB / 396.9 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3339, allocations: 4.094 kB / 396.9 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.3343, allocations: 79.14 kB / 397 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.3347, allocations: 111.8 kB / 397.1 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.3365, allocations: 1.787 MB / 398.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.3368, allocations: 57.08 kB / 399 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.3369, allocations: 21.62 kB / 399 MB, free: 14.76 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.0002032/0.3371, allocations: 172.4 kB / 399.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.3372, allocations: 29.44 kB / 399.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.3383, allocations: 0.5575 MB / 399.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3383, allocations: 6.844 kB / 399.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3383, allocations: 0 / 399.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3383, allocations: 4.953 kB / 399.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.3401, allocations: 1.17 MB / 400.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3402, allocations: 2.172 kB / 400.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.3405, allocations: 77.69 kB / 401 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.3408, allocations: 83.64 kB / 401.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.3408, allocations: 7.875 kB / 401.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.3426, allocations: 1.777 MB / 402.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3426, allocations: 1.375 kB / 402.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.3441, allocations: 0.8184 MB / 403.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/0.3442, allocations: 119.6 kB / 403.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.3443, allocations: 8.469 kB / 403.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.3445, allocations: 24.7 kB / 403.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/0.3446, allocations: 34.62 kB / 403.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.3447, allocations: 16.58 kB / 403.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.3448, allocations: 143.8 kB / 404 MB, free: 11.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3448, allocations: 3.938 kB / 404 MB, free: 11.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006329/0.3455, allocations: 156.9 kB / 404.2 MB, free: 11.28 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.0002448/0.3457, allocations: 134.1 kB / 404.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.347, allocations: 0.5954 MB / 404.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.347, allocations: 0 / 404.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000701/0.3478, allocations: 389.8 kB / 405.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.3482, allocations: 48.05 kB / 405.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.3502, allocations: 0.8729 MB / 406.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.3507, allocations: 0.8141 MB / 407 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.351, allocations: 54.09 kB / 407.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.3511, allocations: 37.25 kB / 407.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3511, allocations: 1.156 kB / 407.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of Templates: time 0.01036/0.3615, allocations: 4.472 MB / 411.6 MB, free: 7.621 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (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) 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) Reference file matches