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.001437/0.001438, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001765, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 55.28 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1346, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.005734/0.1404, allocations: 2.907 MB / 361.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1421, allocations: 0.7127 MB / 362.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.1424, allocations: 8 kB / 362.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.1428, allocations: 59.38 kB / 362.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.143, allocations: 87.2 kB / 362.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.1435, allocations: 95.8 kB / 362.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.144, allocations: 382.8 kB / 363.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004442/0.1445, allocations: 168.5 kB / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004815/0.145, allocations: 159.5 kB / 363.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.1452, allocations: 151.3 kB / 363.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.1453, allocations: 32 kB / 363.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.183e-05/0.1453, allocations: 32 kB / 363.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.1454, allocations: 79.75 kB / 363.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.1456, allocations: 175.1 kB / 363.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.146, allocations: 382.6 kB / 364.3 MB, free: 7.887 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.1461, allocations: 4 kB / 364.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1461, allocations: 0 / 364.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1461, allocations: 0 / 364.3 MB, free: 7.883 MB / 302.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.001038/0.1471, allocations: 0.6199 MB / 364.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1472, allocations: 8.031 kB / 364.9 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.313e-05/0.1473, allocations: 40.47 kB / 365 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.1477, allocations: 259.8 kB / 365.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.1477, allocations: 25.03 kB / 365.2 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.1478, allocations: 32.38 kB / 365.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.1484, allocations: 282.4 kB / 365.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1484, allocations: 4 kB / 365.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.1484, allocations: 12 kB / 365.6 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.1484, allocations: 4 kB / 365.6 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.1489, allocations: 214.5 kB / 365.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.1506, allocations: 1.03 MB / 366.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.1509, allocations: 158.5 kB / 367 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.1512, allocations: 132.8 kB / 367.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.1513, allocations: 7.922 kB / 367.1 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.1513, allocations: 38.56 kB / 367.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.1513, allocations: 0 / 367.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005911/0.1519, allocations: 220.1 kB / 367.3 MB, free: 4.633 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/0.152, allocations: 55.34 kB / 367.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1522, allocations: 223 kB / 367.6 MB, free: 4.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1523, allocations: 29.7 kB / 367.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1524, allocations: 184 kB / 367.8 MB, free: 4.121 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.1525, allocations: 78.94 kB / 367.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/0.1525, allocations: 49.98 kB / 368 MB, free: 3.988 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1527, allocations: 334.8 kB / 368.3 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.1529, allocations: 68.52 kB / 368.3 MB, free: 3.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.1531, allocations: 143.3 kB / 368.5 MB, free: 3.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.1535, allocations: 229.1 kB / 368.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1535, allocations: 7.938 kB / 368.7 MB, free: 3.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004778/0.154, allocations: 269 kB / 369 MB, free: 2.879 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.154, allocations: 8 kB / 369 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.154, allocations: 4 kB / 369 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.154, allocations: 4 kB / 369 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.1543, allocations: 71.89 kB / 369.1 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1544, allocations: 7.938 kB / 369.1 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.1545, allocations: 32 kB / 369.1 MB, free: 2.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.1546, allocations: 12 kB / 369.1 MB, free: 2.742 MB / 302.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.0001429/0.1547, allocations: 145.7 kB / 369.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.1548, allocations: 23.75 kB / 369.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.1552, allocations: 206.9 kB / 369.5 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1552, allocations: 4 kB / 369.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1552, allocations: 0 / 369.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1552, allocations: 4 kB / 369.5 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008339/0.1561, allocations: 0.609 MB / 370.1 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1561, allocations: 0 / 370.1 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.1564, allocations: 51.97 kB / 370.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1564, allocations: 0 / 370.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1564, allocations: 12.06 kB / 370.2 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1564, allocations: 0 / 370.2 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1564, allocations: 0 / 370.2 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006328/0.1571, allocations: 381.9 kB / 370.5 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.1571, allocations: 96.92 kB / 370.6 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.1572, allocations: 4.062 kB / 370.6 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.1574, allocations: 15.98 kB / 370.7 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.1574, allocations: 11.98 kB / 370.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.1574, allocations: 7.984 kB / 370.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1576, allocations: 152.7 kB / 370.8 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1576, allocations: 0 / 370.8 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.158, allocations: 83.62 kB / 370.9 MB, free: 0.8398 MB / 302.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.0001522/0.1581, allocations: 111.2 kB / 371 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004431/0.1586, allocations: 180.2 kB / 371.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.1586, allocations: 0 / 371.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1588, allocations: 84.47 kB / 371.3 MB, free: 476 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1591, allocations: 36.72 kB / 371.3 MB, free: 440 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2009/0.3601, allocations: 0.823 MB / 372.1 MB, free: 20.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3604, allocations: 0.7718 MB / 372.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.3605, allocations: 23.73 kB / 372.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.3606, allocations: 20.33 kB / 372.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3606, allocations: 0 / 372.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of Templates: time 0.006841/0.3675, allocations: 2.04 MB / 375 MB, free: 19.29 MB / 302.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 -s cvode -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