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.001353/0.001353, allocations: 113 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 212.9 kB / 19.4 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001283, allocations: 63.83 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2388, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003706/0.2426, allocations: 2.909 MB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2438, allocations: 0.7011 MB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.2439, allocations: 11.94 kB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.2441, allocations: 59.38 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.2443, allocations: 95.17 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.2445, allocations: 87.89 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.2449, allocations: 382.8 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.2452, allocations: 172.4 kB / 414.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.2454, allocations: 143.5 kB / 414.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.2456, allocations: 163.3 kB / 414.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.015e-05/0.2457, allocations: 32 kB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.385e-05/0.2458, allocations: 36 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.2458, allocations: 67.77 kB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.246, allocations: 171.1 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.2463, allocations: 395.7 kB / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2463, allocations: 4 kB / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2463, allocations: 0 / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.2463, allocations: 0 / 415.3 MB, free: 12.16 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.0009345/0.2473, allocations: 0.616 MB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2473, allocations: 12.03 kB / 416 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.2474, allocations: 32.56 kB / 416 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.2478, allocations: 267.7 kB / 416.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.2478, allocations: 25.03 kB / 416.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.2478, allocations: 28.38 kB / 416.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.2484, allocations: 282.4 kB / 416.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2484, allocations: 0 / 416.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.2484, allocations: 20 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2484, allocations: 8 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.2489, allocations: 210.5 kB / 416.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.2504, allocations: 1.022 MB / 417.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.2508, allocations: 170.5 kB / 418 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.2511, allocations: 128.8 kB / 418.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.2511, allocations: 3.938 kB / 418.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.2511, allocations: 38.55 kB / 418.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.2511, allocations: 0 / 418.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005748/0.2517, allocations: 228 kB / 418.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.2518, allocations: 55.34 kB / 418.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.252, allocations: 223.1 kB / 418.7 MB, free: 8.617 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.252, allocations: 25.7 kB / 418.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.2522, allocations: 188 kB / 418.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.2522, allocations: 82.89 kB / 419 MB, free: 8.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.2523, allocations: 45.98 kB / 419 MB, free: 8.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2525, allocations: 334.8 kB / 419.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.2526, allocations: 64.53 kB / 419.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.2529, allocations: 147.4 kB / 419.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.2533, allocations: 225.2 kB / 419.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2533, allocations: 0 / 419.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004896/0.2538, allocations: 269 kB / 420 MB, free: 7.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2538, allocations: 14.38 kB / 420 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2538, allocations: 8 kB / 420 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2539, allocations: 4 kB / 420 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.2542, allocations: 71.91 kB / 420.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.2542, allocations: 11.92 kB / 420.1 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.2544, allocations: 31.69 kB / 420.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.2544, allocations: 8 kB / 420.2 MB, free: 7.023 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.0001282/0.2545, allocations: 141.8 kB / 420.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.2546, allocations: 31.73 kB / 420.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.255, allocations: 192.5 kB / 420.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.255, allocations: 4 kB / 420.5 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.255, allocations: 0 / 420.5 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.255, allocations: 0 / 420.5 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008653/0.2559, allocations: 0.6052 MB / 421.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2559, allocations: 0 / 421.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.2562, allocations: 59.95 kB / 421.2 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2562, allocations: 0 / 421.2 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2563, allocations: 8 kB / 421.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2563, allocations: 0 / 421.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2563, allocations: 3.938 kB / 421.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.2569, allocations: 378.8 kB / 421.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.2569, allocations: 108.8 kB / 421.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.257, allocations: 4 kB / 421.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.2572, allocations: 15.98 kB / 421.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.2572, allocations: 15.98 kB / 421.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.2572, allocations: 8 kB / 421.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.2574, allocations: 156.7 kB / 421.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2574, allocations: 0 / 421.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000329/0.2577, allocations: 79.62 kB / 421.9 MB, free: 5.117 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0001305/0.2578, allocations: 103.2 kB / 422 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.2583, allocations: 187.7 kB / 422.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2583, allocations: 0 / 422.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.2585, allocations: 79.86 kB / 422.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.2588, allocations: 33.27 kB / 422.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.26, allocations: 0.8725 MB / 423.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.2604, allocations: 0.7713 MB / 424 MB, free: 3.004 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.2604, allocations: 19.44 kB / 424 MB, free: 2.984 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2604, allocations: 4 kB / 424 MB, free: 2.98 MB / 334.1 MB Notification: Performance of Templates: time 0.004639/0.2651, allocations: 2.969 MB / 427 MB, free: 20 kB / 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