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.001049/0.001049, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2122, allocations: 50.55 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004504/0.2167, allocations: 3.698 MB / 413.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.2189, allocations: 1.483 MB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.219, allocations: 12 kB / 415.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.2207, allocations: 0.7467 MB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007555/0.2214, allocations: 393.6 kB / 416.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009637/0.2224, allocations: 0.5519 MB / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.2229, allocations: 462 kB / 417.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005636/0.2234, allocations: 385.7 kB / 417.6 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.2237, allocations: 207.3 kB / 417.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.224, allocations: 270.9 kB / 418.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.2241, allocations: 40 kB / 418.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.2245, allocations: 215.8 kB / 418.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.2246, allocations: 111.6 kB / 418.5 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.2248, allocations: 230.8 kB / 418.7 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006875/0.2255, allocations: 0.6827 MB / 419.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2255, allocations: 0 / 419.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2255, allocations: 0 / 419.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2255, allocations: 0 / 419.4 MB, free: 8.086 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.002035/0.2275, allocations: 0.9093 MB / 420.3 MB, free: 7.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2276, allocations: 8.031 kB / 420.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00369/0.2313, allocations: 495.9 kB / 420.8 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.2317, allocations: 319.1 kB / 421.1 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.2317, allocations: 41.69 kB / 421.1 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/0.2318, allocations: 56.38 kB / 421.2 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009224/0.2328, allocations: 0.5142 MB / 421.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.2328, allocations: 0 / 421.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.2328, allocations: 24 kB / 421.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.2329, allocations: 12 kB / 421.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009786/0.2338, allocations: 0.5634 MB / 422.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.2365, allocations: 1.936 MB / 424.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.2386, allocations: 2.176 MB / 426.4 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.2389, allocations: 210.1 kB / 426.6 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.2391, allocations: 178.6 kB / 426.8 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.2391, allocations: 46.94 kB / 426.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.2391, allocations: 0 / 426.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001877/0.241, allocations: 0.7894 MB / 427.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.2411, allocations: 59.78 kB / 427.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.2412, allocations: 182.3 kB / 427.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.2413, allocations: 33.7 kB / 427.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2414, allocations: 220.5 kB / 428.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.2415, allocations: 161.6 kB / 428.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.2416, allocations: 86.16 kB / 428.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2418, allocations: 334.8 kB / 428.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.242, allocations: 153.1 kB / 428.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.2424, allocations: 228.8 kB / 429 MB, free: 13.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.243, allocations: 403.4 kB / 429.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.243, allocations: 0 / 429.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009676/0.244, allocations: 0.5277 MB / 430 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.244, allocations: 8.219 kB / 430 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2441, allocations: 4 kB / 430 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/0.2444, allocations: 96.67 kB / 430.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.2448, allocations: 87.89 kB / 430.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.2467, allocations: 2.041 MB / 432.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.247, allocations: 51.53 kB / 432.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.247, allocations: 19.98 kB / 432.3 MB, free: 10.24 MB / 350.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.0001661/0.2472, allocations: 169.7 kB / 432.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.2472, allocations: 23.72 kB / 432.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.2483, allocations: 0.5434 MB / 433 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.2483, allocations: 7.984 kB / 433 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2483, allocations: 0 / 433 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.2484, allocations: 100.8 kB / 433.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.2485, allocations: 12 kB / 433.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.2487, allocations: 27.91 kB / 433.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/0.2488, allocations: 40.38 kB / 433.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001135/0.2499, allocations: 0.5549 MB / 433.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001027/0.251, allocations: 0.7326 MB / 434.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002858/0.2513, allocations: 171.4 kB / 434.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.2514, allocations: 135.2 kB / 434.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of Backend: time 2.81e-07/0.2514, allocations: 0 / 434.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.2526, allocations: 0.5928 MB / 435.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of SimCode: time 0.001214/0.2538, allocations: 1.202 MB / 436.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of Templates: time 0.01012/0.264, allocations: 6.282 MB / 442.9 MB, free: 15.54 MB / 366.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/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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches