Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000942/0.0009421, allocations: 97.02 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000954/0.000954, allocations: 202.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2673/0.2673, allocations: 45.91 MB / 344 MB, free: 12.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002584/0.0002584, allocations: 4 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1427, allocations: 63.46 MB / 481.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002088/0.1449, allocations: 1.392 MB / 482.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.1451, allocations: 83.75 kB / 482.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.1451, allocations: 4 kB / 482.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.1452, allocations: 7.922 kB / 482.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.116e-05/0.1453, allocations: 23.89 kB / 482.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.65e-05/0.1454, allocations: 15.98 kB / 482.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.1455, allocations: 71.91 kB / 483 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1457, allocations: 43.89 kB / 483 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.1457, allocations: 31.86 kB / 483 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.1458, allocations: 35.84 kB / 483.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1458, allocations: 8 kB / 483.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.1458, allocations: 4 kB / 483.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.1459, allocations: 19.92 kB / 483.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.1459, allocations: 45.58 kB / 483.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.146, allocations: 88.02 kB / 483.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.146, allocations: 4 kB / 483.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1461, allocations: 4 kB / 483.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1461, allocations: 0 / 483.3 MB, free: 3.531 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005819/0.1466, allocations: 407 kB / 483.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1467, allocations: 12.03 kB / 483.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.1467, allocations: 7.906 kB / 483.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1469, allocations: 178.8 kB / 483.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1469, allocations: 8 kB / 483.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.1469, allocations: 11.98 kB / 483.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.1473, allocations: 137.5 kB / 484 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.515e-06/0.1473, allocations: 0 / 484 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1473, allocations: 4 kB / 484 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1473, allocations: 4 kB / 484 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.1477, allocations: 131.3 kB / 484.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.1484, allocations: 483.3 kB / 484.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1487, allocations: 94.53 kB / 484.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.1487, allocations: 0 / 484.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1488, allocations: 34.56 kB / 484.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.1488, allocations: 0 / 484.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008456/0.1496, allocations: 311.7 kB / 485 MB, free: 1.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.1497, allocations: 51.41 kB / 485.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1498, allocations: 121.8 kB / 485.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1498, allocations: 25.7 kB / 485.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.1499, allocations: 108.1 kB / 485.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.1499, allocations: 19.7 kB / 485.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.1499, allocations: 8 kB / 485.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1501, allocations: 314.8 kB / 485.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.1502, allocations: 51.95 kB / 485.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1504, allocations: 69.61 kB / 485.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1506, allocations: 51.97 kB / 485.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1506, allocations: 3.938 kB / 485.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003903/0.151, allocations: 166.3 kB / 486 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.151, allocations: 4 kB / 486 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.151, allocations: 0 / 486 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.1512, allocations: 24.84 kB / 486 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1513, allocations: 31.95 kB / 486.1 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009963/0.1523, allocations: 1.311 MB / 487.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1524, allocations: 23.98 kB / 487.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1525, allocations: 0 / 487.4 MB, free: 14.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.593e-05/0.1526, allocations: 122.4 kB / 487.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1526, allocations: 0 / 487.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.1526, allocations: 12.38 kB / 487.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1526, allocations: 3.953 kB / 487.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1526, allocations: 0 / 487.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1526, allocations: 3.984 kB / 487.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.1529, allocations: 209.6 kB / 487.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1529, allocations: 0 / 487.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.153, allocations: 19.98 kB / 487.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.166e-05/0.1531, allocations: 24.78 kB / 487.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1531, allocations: 0 / 487.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.1541, allocations: 1.324 MB / 489.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1542, allocations: 0 / 489.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.1546, allocations: 248.3 kB / 489.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.1546, allocations: 89.02 kB / 489.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1547, allocations: 7.953 kB / 489.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.1548, allocations: 19.97 kB / 489.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.1549, allocations: 11.92 kB / 489.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1549, allocations: 0 / 489.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.389e-05/0.1549, allocations: 95.66 kB / 489.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1549, allocations: 0 / 489.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1552, allocations: 20 kB / 489.6 MB, free: 12.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001095/0.1553, allocations: 107.2 kB / 489.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005291/0.1558, allocations: 222.7 kB / 489.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1558, allocations: 3.938 kB / 489.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.1561, allocations: 178.5 kB / 490.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.1563, allocations: 7.984 kB / 490.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.1568, allocations: 246.2 kB / 490.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.157, allocations: 0.6965 MB / 491 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.209e-05/0.1571, allocations: 12.11 kB / 491 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.1571, allocations: 7.438 kB / 491.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1571, allocations: 4 kB / 491.1 MB, free: 11 MB / 366.1 MB Notification: Performance of Templates: time 0.004401/0.1615, allocations: 0.9228 MB / 492 MB, free: 10.09 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches