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.001325/0.001325, allocations: 110.3 kB / 17.75 MB, free: 5.223 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.001394/0.001394, allocations: 181.4 kB / 18.67 MB, free: 4.309 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.299/1.299, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009202/0.0009202, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2136, allocations: 49.44 MB / 401.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004407/0.218, allocations: 3.685 MB / 405.1 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.22, allocations: 1.425 MB / 406.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.2202, allocations: 12 kB / 406.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.2219, allocations: 0.7505 MB / 407.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.2229, allocations: 0.5434 MB / 407.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007676/0.2236, allocations: 432.4 kB / 408.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.2241, allocations: 458 kB / 408.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.2246, allocations: 391.1 kB / 409.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.2249, allocations: 211.2 kB / 409.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.2252, allocations: 263 kB / 409.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.2252, allocations: 44 kB / 409.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.2256, allocations: 207.8 kB / 409.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.2257, allocations: 111.5 kB / 409.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.2259, allocations: 230.9 kB / 410.1 MB, free: 272 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.2266, allocations: 0.6737 MB / 410.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2266, allocations: 0 / 410.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2266, allocations: 0 / 410.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.517e-06/0.2266, allocations: 0 / 410.8 MB, free: 15.59 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.002032/0.2287, allocations: 0.9092 MB / 411.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2287, allocations: 15.89 kB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003624/0.2323, allocations: 495.9 kB / 412.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.2327, allocations: 303.7 kB / 412.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.2328, allocations: 37.69 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/0.2329, allocations: 56.28 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000907/0.2338, allocations: 0.5103 MB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.2338, allocations: 7.984 kB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.054e-05/0.2339, allocations: 24 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.2339, allocations: 12 kB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009971/0.2349, allocations: 0.5673 MB / 413.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.2375, allocations: 1.849 MB / 415.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.2395, allocations: 2.184 MB / 417.7 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.2399, allocations: 214.1 kB / 418 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.402e-05/0.24, allocations: 97.5 kB / 418.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.24, allocations: 35 kB / 418.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 1.884e-06/0.24, allocations: 0 / 418.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001899/0.2419, allocations: 0.7817 MB / 418.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.242, allocations: 59.84 kB / 418.9 MB, free: 6.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.2422, allocations: 190.2 kB / 419.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.2422, allocations: 41.64 kB / 419.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.2423, allocations: 220.4 kB / 419.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.2424, allocations: 157.7 kB / 419.5 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.2426, allocations: 90.14 kB / 419.6 MB, free: 6.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2427, allocations: 342.8 kB / 419.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.243, allocations: 145.1 kB / 420.1 MB, free: 5.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.2433, allocations: 228.8 kB / 420.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006331/0.244, allocations: 403.4 kB / 420.7 MB, free: 4.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.244, allocations: 0 / 420.7 MB, free: 4.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009863/0.245, allocations: 0.5356 MB / 421.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.245, allocations: 4 kB / 421.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.245, allocations: 4 kB / 421.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.2453, allocations: 88.8 kB / 421.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.2457, allocations: 91.89 kB / 421.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.2477, allocations: 2.029 MB / 423.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.248, allocations: 47.53 kB / 423.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.2481, allocations: 23.98 kB / 423.5 MB, free: 1.957 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.000177/0.2483, allocations: 173.7 kB / 423.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/0.2483, allocations: 27.62 kB / 423.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.2494, allocations: 0.5436 MB / 424.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.2494, allocations: 3.984 kB / 424.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2494, allocations: 3.938 kB / 424.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.2495, allocations: 104.8 kB / 424.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.2496, allocations: 8 kB / 424.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.2498, allocations: 27.92 kB / 424.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.2499, allocations: 36.38 kB / 424.4 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001185/0.2511, allocations: 0.5588 MB / 425 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00117/0.2523, allocations: 0.7285 MB / 425.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002919/0.2526, allocations: 167.4 kB / 425.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.2527, allocations: 148.2 kB / 426 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Backend: time 4.61e-07/0.2527, allocations: 0 / 426 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.254, allocations: 0.5852 MB / 426.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of SimCode: time 0.001301/0.2553, allocations: 1.197 MB / 427.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of Templates: time 0.01094/0.2663, allocations: 6.239 MB / 434.1 MB, free: 7.297 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