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) 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, 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.001462/0.001462, 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.417/1.417, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001436/0.001436, allocations: 47.94 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.1005, allocations: 46.63 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005654/0.1062, allocations: 3.742 MB / 378.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2087/0.3149, allocations: 1.454 MB / 380.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007217/0.3158, allocations: 8.25 kB / 380.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.318, allocations: 0.7568 MB / 381.1 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.3196, allocations: 0.5594 MB / 381.7 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009749/0.3205, allocations: 429.8 kB / 382.1 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008924/0.3214, allocations: 496.3 kB / 382.6 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009089/0.3224, allocations: 387 kB / 382.9 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.323, allocations: 220.7 kB / 383.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005646/0.3236, allocations: 280.8 kB / 383.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.3238, allocations: 42.19 kB / 383.5 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.3245, allocations: 211.8 kB / 383.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3246, allocations: 107.5 kB / 383.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.3249, allocations: 250.5 kB / 384 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.3259, allocations: 0.706 MB / 384.7 MB, free: 8.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3259, allocations: 0.9688 kB / 384.7 MB, free: 8.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3259, allocations: 0 / 384.7 MB, free: 8.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.326, allocations: 0 / 384.7 MB, free: 8.887 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.002073/0.328, allocations: 0.9448 MB / 385.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3281, allocations: 8.969 kB / 385.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004227/0.3323, allocations: 0.594 MB / 386.3 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.3329, allocations: 320.1 kB / 386.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.3329, allocations: 41.62 kB / 386.6 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/0.333, allocations: 57.31 kB / 386.7 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.334, allocations: 0.552 MB / 387.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.3341, allocations: 1.859 kB / 387.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/0.3341, allocations: 25.08 kB / 387.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.3342, allocations: 13.88 kB / 387.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.3353, allocations: 0.6364 MB / 387.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.3381, allocations: 2.033 MB / 390 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.3402, allocations: 3.015 MB / 393 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.3406, allocations: 222.2 kB / 393.2 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.685e-05/0.3406, allocations: 92.28 kB / 393.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3407, allocations: 42.27 kB / 393.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 3.026e-06/0.3407, allocations: 0 / 393.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001803/0.3425, allocations: 0.7973 MB / 394.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.3425, allocations: 58.69 kB / 394.2 MB, free: 2.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.3427, allocations: 204.1 kB / 394.4 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3427, allocations: 32.67 kB / 394.4 MB, free: 2.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3429, allocations: 242.3 kB / 394.6 MB, free: 1.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.794e-05/0.343, allocations: 183.1 kB / 394.8 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.3431, allocations: 95.2 kB / 394.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.3432, allocations: 340.3 kB / 395.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.3435, allocations: 163.8 kB / 395.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.3439, allocations: 273.1 kB / 395.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/0.3445, allocations: 465.3 kB / 396.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.3445, allocations: 0 / 396.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00106/0.3456, allocations: 0.5827 MB / 396.7 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3456, allocations: 7.062 kB / 396.7 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3456, allocations: 7.281 kB / 396.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003854/0.346, allocations: 92.84 kB / 396.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.3464, allocations: 107.3 kB / 396.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.3486, allocations: 2.05 MB / 399 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.3489, allocations: 54.02 kB / 399 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.349, allocations: 26.8 kB / 399.1 MB, free: 14.64 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.0002467/0.3492, allocations: 175.6 kB / 399.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.13e-05/0.3493, allocations: 26.22 kB / 399.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.3504, allocations: 0.5494 MB / 399.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.3505, allocations: 9.438 kB / 399.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3505, allocations: 2.688 kB / 399.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3505, allocations: 3.375 kB / 399.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.3524, allocations: 1.139 MB / 401 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3524, allocations: 0 / 401 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.3527, allocations: 79.09 kB / 401 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/0.353, allocations: 94.23 kB / 401.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.3531, allocations: 9.156 kB / 401.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.3552, allocations: 2.042 MB / 403.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3552, allocations: 0 / 403.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.3567, allocations: 0.8091 MB / 404 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.3568, allocations: 111.5 kB / 404.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.3569, allocations: 11.31 kB / 404.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.3572, allocations: 19.5 kB / 404.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3573, allocations: 38.25 kB / 404.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.3573, allocations: 11.61 kB / 404.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.3575, allocations: 144.3 kB / 404.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3575, allocations: 0 / 404.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009239/0.3585, allocations: 160.7 kB / 404.5 MB, free: 11 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.0003196/0.3588, allocations: 138.5 kB / 404.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.3603, allocations: 0.5935 MB / 405.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.3603, allocations: 3.938 kB / 405.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006832/0.361, allocations: 389.5 kB / 405.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3614, allocations: 36.84 kB / 405.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.3633, allocations: 0.8486 MB / 406.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.3637, allocations: 0.8133 MB / 407.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.364, allocations: 54.05 kB / 407.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.817e-05/0.3641, allocations: 36.88 kB / 407.4 MB, free: 9.133 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3641, allocations: 0 / 407.4 MB, free: 9.133 MB / 334.1 MB Notification: Performance of Templates: time 0.00982/0.3739, allocations: 4.467 MB / 411.8 MB, free: 7.375 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (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) 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) Reference file matches