Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008925/0.0008969, allocations: 93.84 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 202.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002115/0.0002118, allocations: 4 kB / 307.7 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09007/0.09029, allocations: 51.52 MB / 359.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003289/0.09361, allocations: 3.313 MB / 362.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.0958, allocations: 1.468 MB / 364 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.09594, allocations: 12 kB / 364 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.09633, allocations: 159.4 kB / 364.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007469/0.09709, allocations: 346.6 kB / 364.5 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009043/0.098, allocations: 0.5194 MB / 365.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.09842, allocations: 442.1 kB / 365.5 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.09956, allocations: 0.7157 MB / 366.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.09986, allocations: 183.2 kB / 366.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.1001, allocations: 235 kB / 366.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.1002, allocations: 20 kB / 366.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.1005, allocations: 183.9 kB / 366.8 MB, free: 5.695 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.1006, allocations: 79.61 kB / 366.9 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.1008, allocations: 236.5 kB / 367.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000596/0.1014, allocations: 0.6462 MB / 367.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1014, allocations: 3.938 kB / 367.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1014, allocations: 0 / 367.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1014, allocations: 0 / 367.8 MB, free: 4.727 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.001733/0.1031, allocations: 0.8195 MB / 368.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1032, allocations: 12.03 kB / 368.6 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003331/0.1065, allocations: 499.9 kB / 369.1 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.1068, allocations: 307.6 kB / 369.4 MB, free: 3.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.1069, allocations: 41.69 kB / 369.4 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-05/0.107, allocations: 60.27 kB / 369.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008256/0.1078, allocations: 0.5142 MB / 370 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.1078, allocations: 4 kB / 370 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.1079, allocations: 24 kB / 370 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.1079, allocations: 12 kB / 370 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009161/0.1088, allocations: 0.5751 MB / 370.6 MB, free: 1.785 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1576/0.2665, allocations: 1.959 MB / 372.6 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.2682, allocations: 2.179 MB / 374.8 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.2686, allocations: 219.4 kB / 375 MB, free: 16.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.2687, allocations: 172.2 kB / 375.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2688, allocations: 40.28 kB / 375.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.525e-06/0.2688, allocations: 1.812 kB / 375.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002041/0.2708, allocations: 0.8119 MB / 376 MB, free: 16.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.2709, allocations: 64.89 kB / 376.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.2711, allocations: 186 kB / 376.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.2711, allocations: 36.97 kB / 376.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.2713, allocations: 221.5 kB / 376.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.2715, allocations: 160.3 kB / 376.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.2716, allocations: 44.03 kB / 376.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.2717, allocations: 334.4 kB / 377 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.272, allocations: 159.1 kB / 377.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.2725, allocations: 231.1 kB / 377.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.2732, allocations: 415 kB / 377.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2732, allocations: 0 / 377.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001127/0.2744, allocations: 0.5449 MB / 378.3 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2744, allocations: 7.578 kB / 378.4 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2744, allocations: 1.375 kB / 378.4 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/0.2748, allocations: 90.64 kB / 378.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.2752, allocations: 97.34 kB / 378.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.2769, allocations: 1.842 MB / 380.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.2772, allocations: 48.59 kB / 380.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.2772, allocations: 23.19 kB / 380.4 MB, free: 13.3 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.0001767/0.2774, allocations: 173.6 kB / 380.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.2774, allocations: 28 kB / 380.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.2785, allocations: 0.5533 MB / 381.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.2785, allocations: 8.719 kB / 381.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2785, allocations: 2.5 kB / 381.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.2786, allocations: 2.578 kB / 381.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.2802, allocations: 1.136 MB / 382.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2802, allocations: 0 / 382.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.2805, allocations: 83 kB / 382.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002635/0.2808, allocations: 91.31 kB / 382.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.2808, allocations: 11.34 kB / 382.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.2823, allocations: 1.85 MB / 384.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2823, allocations: 1.312 kB / 384.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.2836, allocations: 0.8 MB / 385.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.2836, allocations: 119.7 kB / 385.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.2837, allocations: 7.031 kB / 385.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.2839, allocations: 25.83 kB / 385.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.284, allocations: 38.41 kB / 385.4 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.2841, allocations: 14.38 kB / 385.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.2842, allocations: 132.5 kB / 385.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2842, allocations: 0 / 385.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005949/0.2848, allocations: 144.7 kB / 385.7 MB, free: 9.871 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.0002521/0.285, allocations: 143 kB / 385.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.286, allocations: 0.5751 MB / 386.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2861, allocations: 1.125 kB / 386.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005186/0.2866, allocations: 395.1 kB / 386.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2869, allocations: 31.56 kB / 386.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2881, allocations: 1.054 MB / 387.8 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.2884, allocations: 0.8056 MB / 388.6 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.2886, allocations: 46.14 kB / 388.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/0.2887, allocations: 38.09 kB / 388.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2887, allocations: 0 / 388.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of Templates: time 0.008654/0.2974, allocations: 4.062 MB / 392.8 MB, free: 7.312 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches