Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 111.1 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.001972/0.001972, 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.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2248, allocations: 50.54 MB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003635/0.2285, allocations: 2.912 MB / 412.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.2296, allocations: 0.7127 MB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.2297, allocations: 8 kB / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.2299, allocations: 59.38 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.23, allocations: 87.19 kB / 413.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.2303, allocations: 87.88 kB / 413.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.2307, allocations: 386.8 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.2309, allocations: 168.5 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.2312, allocations: 151.5 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.2314, allocations: 159.3 kB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.2314, allocations: 32 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.686e-05/0.2315, allocations: 36 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.2316, allocations: 71.75 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.2317, allocations: 171.1 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.232, allocations: 395.7 kB / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2321, allocations: 0 / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2321, allocations: 0 / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.2321, allocations: 0 / 415.3 MB, free: 12.13 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008978/0.233, allocations: 0.6121 MB / 416 MB, free: 11.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.233, allocations: 8.031 kB / 416 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/0.2331, allocations: 40.56 kB / 416 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.2334, allocations: 267.7 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.2334, allocations: 25.03 kB / 416.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.2335, allocations: 32.38 kB / 416.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.234, allocations: 282.4 kB / 416.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.234, allocations: 0 / 416.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.2341, allocations: 15.98 kB / 416.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2341, allocations: 8 kB / 416.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.2346, allocations: 222.4 kB / 416.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.236, allocations: 1.014 MB / 417.9 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.2364, allocations: 158.5 kB / 418 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.2366, allocations: 136.2 kB / 418.1 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.2367, allocations: 7.938 kB / 418.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.2367, allocations: 38.56 kB / 418.2 MB, free: 9.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.2367, allocations: 4 kB / 418.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005655/0.2373, allocations: 231.7 kB / 418.4 MB, free: 8.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.2373, allocations: 51.41 kB / 418.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.2375, allocations: 219.1 kB / 418.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2375, allocations: 29.7 kB / 418.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2377, allocations: 192 kB / 418.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.2377, allocations: 78.89 kB / 419 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.2378, allocations: 49.98 kB / 419 MB, free: 8.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2379, allocations: 330.8 kB / 419.3 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.2381, allocations: 64.53 kB / 419.4 MB, free: 7.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.2383, allocations: 143.4 kB / 419.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.2387, allocations: 225.2 kB / 419.8 MB, free: 7.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2387, allocations: 4 kB / 419.8 MB, free: 7.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004787/0.2392, allocations: 269 kB / 420 MB, free: 7.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2392, allocations: 8 kB / 420 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2392, allocations: 3.984 kB / 420 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2392, allocations: 4.25 kB / 420.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.2395, allocations: 75.84 kB / 420.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.2395, allocations: 4 kB / 420.1 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.2397, allocations: 35.67 kB / 420.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.2397, allocations: 12 kB / 420.2 MB, free: 6.992 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.2399, allocations: 137.8 kB / 420.3 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.2399, allocations: 27.75 kB / 420.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.2403, allocations: 198.4 kB / 420.5 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2404, allocations: 3.984 kB / 420.5 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2404, allocations: 3.938 kB / 420.5 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.2404, allocations: 100.8 kB / 420.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.2405, allocations: 4 kB / 420.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.2407, allocations: 15.98 kB / 420.7 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.2407, allocations: 15.97 kB / 420.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006676/0.2414, allocations: 296.7 kB / 421 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006207/0.242, allocations: 450.7 kB / 421.4 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001615/0.2422, allocations: 73.14 kB / 421.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.2423, allocations: 148.7 kB / 421.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of Backend: time 2.51e-07/0.2423, allocations: 0 / 421.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005515/0.2429, allocations: 206.9 kB / 421.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of SimCode: time 0.001246/0.2441, allocations: 1.26 MB / 423.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of Templates: time 0.005368/0.2495, allocations: 2.517 MB / 425.6 MB, free: 1.477 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches