Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006389/0.0006389, allocations: 91.73 kB / 17.31 MB, free: 6.535 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.0006692/0.0006692, allocations: 178.3 kB / 18.21 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.098/1.098, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001918/0.0001919, allocations: 14.14 kB / 302.1 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06901/0.06922, allocations: 50.41 MB / 352.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003028/0.07228, allocations: 3.304 MB / 355.8 MB, free: 144 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.07421, allocations: 1.398 MB / 357.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.0744, allocations: 8 kB / 357.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.07479, allocations: 163.3 kB / 357.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009497/0.07575, allocations: 499.6 kB / 357.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006584/0.07642, allocations: 410.9 kB / 358.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.0768, allocations: 434 kB / 358.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.07785, allocations: 0.7119 MB / 359.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.07809, allocations: 175.2 kB / 359.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.07832, allocations: 234.9 kB / 359.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.07837, allocations: 20 kB / 359.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.07868, allocations: 187.8 kB / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.07874, allocations: 79.62 kB / 360.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.07891, allocations: 232.6 kB / 360.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.07935, allocations: 0.5063 MB / 360.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.07936, allocations: 0 / 360.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07937, allocations: 0 / 360.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.07938, allocations: 0 / 360.8 MB, free: 11.09 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001675/0.08106, allocations: 0.8195 MB / 361.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.08109, allocations: 12.02 kB / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003125/0.08422, allocations: 499.9 kB / 362.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.08452, allocations: 303.6 kB / 362.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.08456, allocations: 37.69 kB / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.08464, allocations: 64.22 kB / 362.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/0.08546, allocations: 0.5181 MB / 363 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.08549, allocations: 7.938 kB / 363 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.08554, allocations: 20 kB / 363.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.08556, allocations: 12 kB / 363.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008843/0.08645, allocations: 0.5829 MB / 363.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.08876, allocations: 1.865 MB / 365.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.09053, allocations: 2.2 MB / 367.7 MB, free: 3.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.09085, allocations: 218.1 kB / 367.9 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-05/0.09093, allocations: 89.53 kB / 368 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.09096, allocations: 35 kB / 368.1 MB, free: 3.207 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.372e-06/0.09097, allocations: 0 / 368.1 MB, free: 3.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001674/0.09265, allocations: 0.8207 MB / 368.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.09269, allocations: 55.84 kB / 368.9 MB, free: 2.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.09284, allocations: 186.3 kB / 369.1 MB, free: 2.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.09288, allocations: 33.7 kB / 369.1 MB, free: 2.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.09298, allocations: 220.4 kB / 369.4 MB, free: 1.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.718e-05/0.09308, allocations: 157.7 kB / 369.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.09315, allocations: 45.69 kB / 369.6 MB, free: 1.637 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.09324, allocations: 338.8 kB / 369.9 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.09351, allocations: 157.1 kB / 370 MB, free: 1.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.09382, allocations: 232.8 kB / 370.3 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/0.09441, allocations: 411.5 kB / 370.7 MB, free: 480 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.09442, allocations: 4 kB / 370.7 MB, free: 476 kB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.1196/0.214, allocations: 0.5343 MB / 371.2 MB, free: 24.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.214, allocations: 5.5 kB / 371.2 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2141, allocations: 2.469 kB / 371.2 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000318/0.2144, allocations: 88.92 kB / 371.3 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.2148, allocations: 96.42 kB / 371.4 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.2162, allocations: 1.853 MB / 373.3 MB, free: 22.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.2164, allocations: 45.59 kB / 373.3 MB, free: 22.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.2165, allocations: 18.08 kB / 373.3 MB, free: 22.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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.0001472/0.2166, allocations: 171.8 kB / 373.5 MB, free: 22.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.2167, allocations: 29.59 kB / 373.5 MB, free: 22.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009543/0.2177, allocations: 0.5542 MB / 374.1 MB, free: 22.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2177, allocations: 9.578 kB / 374.1 MB, free: 22.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2177, allocations: 2.812 kB / 374.1 MB, free: 22.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2177, allocations: 2.438 kB / 374.1 MB, free: 22.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.2191, allocations: 1.141 MB / 375.2 MB, free: 22.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2191, allocations: 0 / 375.2 MB, free: 22.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.2194, allocations: 82.55 kB / 375.3 MB, free: 22.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/0.2197, allocations: 91.44 kB / 375.4 MB, free: 22.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.2197, allocations: 10.91 kB / 375.4 MB, free: 22.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.2209, allocations: 1.838 MB / 377.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.221, allocations: 1.375 kB / 377.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.222, allocations: 0.8157 MB / 378.1 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.2221, allocations: 111.8 kB / 378.2 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.2221, allocations: 6.266 kB / 378.2 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.2223, allocations: 21.59 kB / 378.2 MB, free: 20.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.2224, allocations: 37.66 kB / 378.2 MB, free: 20.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.2224, allocations: 13.64 kB / 378.2 MB, free: 20.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.133e-05/0.2225, allocations: 133.5 kB / 378.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2225, allocations: 1.281 kB / 378.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000481/0.223, allocations: 153.1 kB / 378.5 MB, free: 20.03 MB / 302.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 (42): * Single equations (assignments): 41 * 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.000152/0.2232, allocations: 142.7 kB / 378.7 MB, free: 19.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008108/0.224, allocations: 0.5788 MB / 379.2 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.224, allocations: 3.828 kB / 379.2 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.2245, allocations: 383.6 kB / 379.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.2248, allocations: 33.27 kB / 379.7 MB, free: 19.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.2258, allocations: 1.079 MB / 380.7 MB, free: 18.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.226, allocations: 0.8061 MB / 381.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.2262, allocations: 37.14 kB / 381.6 MB, free: 18 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2262, allocations: 4 kB / 381.6 MB, free: 18 MB / 302.1 MB Notification: Performance of Templates: time 0.007838/0.234, allocations: 6.218 MB / 387.8 MB, free: 16.53 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches