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.001002/0.001002, allocations: 96.97 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 206.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 8 kB / 306.6 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1336, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003245/0.1369, allocations: 2.342 MB / 360.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1385, allocations: 0.6938 MB / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003149/0.1388, allocations: 7.938 kB / 361.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.139, allocations: 43.73 kB / 361.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.1394, allocations: 99.66 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.1397, allocations: 67.92 kB / 361.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005429/0.1403, allocations: 255.8 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.1406, allocations: 128.7 kB / 361.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.141, allocations: 123.5 kB / 361.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.1412, allocations: 127.5 kB / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.1413, allocations: 16 kB / 362 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.32e-05/0.1413, allocations: 16 kB / 362 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.1414, allocations: 55.75 kB / 362 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.409e-05/0.1415, allocations: 81.52 kB / 362.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.1418, allocations: 279.4 kB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1418, allocations: 4 kB / 362.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1418, allocations: 4 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1418, allocations: 0 / 362.4 MB, free: 9.555 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.0008966/0.1427, allocations: 0.5652 MB / 363 MB, free: 8.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1427, allocations: 8.031 kB / 363 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.256e-05/0.1428, allocations: 35.62 kB / 363 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.1432, allocations: 258.5 kB / 363.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.1433, allocations: 20.66 kB / 363.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.1433, allocations: 36 kB / 363.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.1439, allocations: 286 kB / 363.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1439, allocations: 4 kB / 363.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.1439, allocations: 11.98 kB / 363.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1439, allocations: 8 kB / 363.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.1445, allocations: 226.5 kB / 363.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.1463, allocations: 1.034 MB / 364.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.1466, allocations: 158.5 kB / 365 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1466, allocations: 7.984 kB / 365 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1467, allocations: 38.91 kB / 365.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.1467, allocations: 0 / 365.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006368/0.1473, allocations: 256.3 kB / 365.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.1474, allocations: 59.34 kB / 365.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1476, allocations: 215.1 kB / 365.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.1476, allocations: 33.7 kB / 365.6 MB, free: 6.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1477, allocations: 188 kB / 365.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.1478, allocations: 78.89 kB / 365.9 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.1478, allocations: 4 kB / 365.9 MB, free: 5.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.148, allocations: 330.8 kB / 366.2 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.1481, allocations: 80.53 kB / 366.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.1484, allocations: 137.6 kB / 366.4 MB, free: 5.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.1486, allocations: 87.92 kB / 366.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.1486, allocations: 4 kB / 366.5 MB, free: 5.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004864/0.1491, allocations: 281.2 kB / 366.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1491, allocations: 7.984 kB / 366.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1491, allocations: 4.188 kB / 366.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1492, allocations: 11.95 kB / 366.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.1495, allocations: 67.91 kB / 366.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1495, allocations: 7.938 kB / 366.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.1497, allocations: 35.67 kB / 366.9 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1497, allocations: 12 kB / 366.9 MB, free: 4.754 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.1499, allocations: 141.8 kB / 367.1 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.1499, allocations: 23.72 kB / 367.1 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/0.1504, allocations: 226.5 kB / 367.3 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.1504, allocations: 7.953 kB / 367.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1504, allocations: 0 / 367.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1504, allocations: 4 kB / 367.3 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.1508, allocations: 333.3 kB / 367.6 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1509, allocations: 4 kB / 367.6 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.1512, allocations: 63.89 kB / 367.7 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1512, allocations: 0 / 367.7 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.1512, allocations: 4 kB / 367.7 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.1512, allocations: 4 kB / 367.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1512, allocations: 3.953 kB / 367.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.1519, allocations: 383.5 kB / 368.1 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.901e-05/0.152, allocations: 100.8 kB / 368.2 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.152, allocations: 8.062 kB / 368.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.1522, allocations: 19.98 kB / 368.2 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.1523, allocations: 11.98 kB / 368.2 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.1523, allocations: 11.95 kB / 368.2 MB, free: 3.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1524, allocations: 152.6 kB / 368.4 MB, free: 3.188 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1525, allocations: 0 / 368.4 MB, free: 3.188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.1528, allocations: 83.69 kB / 368.5 MB, free: 3.105 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001609/0.153, allocations: 107.2 kB / 368.6 MB, free: 2.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004341/0.1534, allocations: 184.2 kB / 368.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1534, allocations: 4 kB / 368.8 MB, free: 2.809 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.1536, allocations: 90.89 kB / 368.9 MB, free: 2.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1539, allocations: 24.66 kB / 368.9 MB, free: 2.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.1555, allocations: 1.037 MB / 369.9 MB, free: 1.637 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.1558, allocations: 0.7752 MB / 370.7 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.1559, allocations: 21.95 kB / 370.7 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.156, allocations: 27.42 kB / 370.7 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.156, allocations: 0 / 370.7 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of Templates: time 0.2034/0.3594, allocations: 1.839 MB / 372.6 MB, free: 18.89 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches