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.001462/0.001462, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.001585/0.001585, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 43.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2332, allocations: 49.44 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004607/0.2378, allocations: 3.697 MB / 405.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.24, allocations: 1.421 MB / 406.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.2402, allocations: 12 kB / 406.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.2419, allocations: 0.7563 MB / 407.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.2429, allocations: 0.5386 MB / 407.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.2438, allocations: 430.9 kB / 408.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.2443, allocations: 462 kB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005821/0.2449, allocations: 385.7 kB / 409.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.2452, allocations: 207.2 kB / 409.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.2455, allocations: 263 kB / 409.5 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-05/0.2455, allocations: 44 kB / 409.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/0.2459, allocations: 207.8 kB / 409.8 MB, free: 488 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.246, allocations: 111.5 kB / 409.9 MB, free: 376 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.2462, allocations: 234.8 kB / 410.1 MB, free: 140 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007119/0.2469, allocations: 0.6772 MB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2469, allocations: 4 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2469, allocations: 0 / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.2469, allocations: 0 / 410.8 MB, free: 15.45 MB / 334.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.00192/0.2488, allocations: 0.9121 MB / 411.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2489, allocations: 19.83 kB / 411.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/0.2525, allocations: 496.2 kB / 412.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.2529, allocations: 303.7 kB / 412.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.2529, allocations: 37.69 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/0.253, allocations: 56.33 kB / 412.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008837/0.2539, allocations: 0.5103 MB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.2539, allocations: 0 / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/0.254, allocations: 24 kB / 413.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.254, allocations: 12 kB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.255, allocations: 0.5673 MB / 413.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.2579, allocations: 1.866 MB / 415.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.26, allocations: 2.184 MB / 417.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.2604, allocations: 226 kB / 418 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.677e-05/0.2605, allocations: 85.55 kB / 418.1 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.2605, allocations: 35 kB / 418.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.574e-06/0.2605, allocations: 0 / 418.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001921/0.2625, allocations: 0.7857 MB / 418.9 MB, free: 6.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.2625, allocations: 55.84 kB / 419 MB, free: 6.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.2627, allocations: 186.4 kB / 419.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.2627, allocations: 33.7 kB / 419.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.2629, allocations: 228.9 kB / 419.4 MB, free: 6.176 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.263, allocations: 170.5 kB / 419.6 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.2632, allocations: 86.25 kB / 419.6 MB, free: 5.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2633, allocations: 342.8 kB / 420 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.2636, allocations: 149 kB / 420.1 MB, free: 5.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.264, allocations: 228.8 kB / 420.3 MB, free: 5.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.2646, allocations: 399.4 kB / 420.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2646, allocations: 0 / 420.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00106/0.2657, allocations: 0.5358 MB / 421.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2657, allocations: 7.984 kB / 421.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2657, allocations: 4 kB / 421.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003528/0.2661, allocations: 84.75 kB / 421.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.2665, allocations: 91.89 kB / 421.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.2687, allocations: 2.049 MB / 423.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.269, allocations: 43.72 kB / 423.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.269, allocations: 20 kB / 423.6 MB, free: 1.793 MB / 334.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.0001798/0.2692, allocations: 173.7 kB / 423.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.2693, allocations: 23.86 kB / 423.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.2704, allocations: 0.5473 MB / 424.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.2704, allocations: 3.984 kB / 424.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2704, allocations: 0 / 424.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.2705, allocations: 108.8 kB / 424.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.2705, allocations: 11.98 kB / 424.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.2707, allocations: 19.94 kB / 424.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.2708, allocations: 36.38 kB / 424.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001148/0.272, allocations: 0.5628 MB / 425.1 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001065/0.2731, allocations: 0.7368 MB / 425.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002963/0.2734, allocations: 167.4 kB / 426 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.2735, allocations: 140.2 kB / 426.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.2735, allocations: 3.938 kB / 426.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.2748, allocations: 0.5967 MB / 426.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of SimCode: time 0.001329/0.2761, allocations: 1.207 MB / 427.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Templates: time 0.01127/0.2874, allocations: 6.239 MB / 434.1 MB, free: 7.105 MB / 350.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