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.001327/0.001327, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.3 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3012/0.3012, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 76.88 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1393, allocations: 62.46 MB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003171/0.1425, allocations: 1.793 MB / 481.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001612/0.1427, allocations: 79.67 kB / 481.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.1428, allocations: 4 kB / 481.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.645e-05/0.1428, allocations: 7.922 kB / 481.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.496e-05/0.1429, allocations: 19.84 kB / 481.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.143, allocations: 23.98 kB / 481.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.1431, allocations: 99.59 kB / 481.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.1433, allocations: 51.94 kB / 481.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.663e-05/0.1434, allocations: 39.86 kB / 481.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.502e-05/0.1435, allocations: 47.77 kB / 481.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.1435, allocations: 8 kB / 481.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.887e-05/0.1435, allocations: 8 kB / 481.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.1435, allocations: 23.92 kB / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.1436, allocations: 39.8 kB / 481.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1438, allocations: 115.8 kB / 481.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1438, allocations: 4 kB / 481.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1438, allocations: 0 / 481.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1438, allocations: 0 / 481.7 MB, free: 3.359 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.0006362/0.1444, allocations: 419.2 kB / 482.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1445, allocations: 8.875 kB / 482.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.1445, allocations: 12.84 kB / 482.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1447, allocations: 180.2 kB / 482.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1447, allocations: 12.36 kB / 482.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.1447, allocations: 8.375 kB / 482.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.1451, allocations: 118 kB / 482.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1451, allocations: 4.188 kB / 482.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1451, allocations: 7.938 kB / 482.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1451, allocations: 0 / 482.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.1455, allocations: 111.9 kB / 482.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008009/0.1463, allocations: 483.2 kB / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.1466, allocations: 82.47 kB / 483.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.1468, allocations: 64.94 kB / 483.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1468, allocations: 7.984 kB / 483.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1468, allocations: 34.5 kB / 483.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1469, allocations: 0 / 483.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008367/0.1477, allocations: 275.3 kB / 483.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/0.1478, allocations: 51.41 kB / 483.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/0.1479, allocations: 117.8 kB / 483.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1479, allocations: 25.7 kB / 483.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.148, allocations: 108.1 kB / 483.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.148, allocations: 19.8 kB / 483.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1481, allocations: 17.72 kB / 483.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1482, allocations: 314.8 kB / 484.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.1484, allocations: 39.95 kB / 484.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.1485, allocations: 58.53 kB / 484.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.1488, allocations: 102.4 kB / 484.3 MB, free: 476 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1488, allocations: 3.938 kB / 484.3 MB, free: 472 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000391/0.1492, allocations: 146.3 kB / 484.4 MB, free: 316 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1493, allocations: 7.938 kB / 484.4 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1493, allocations: 4 kB / 484.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001386/0.1494, allocations: 20.83 kB / 484.5 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1496, allocations: 19.98 kB / 484.5 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.1506, allocations: 1.309 MB / 485.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.804e-05/0.1507, allocations: 12.02 kB / 485.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1507, allocations: 8 kB / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/0.1508, allocations: 121.9 kB / 485.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.1509, allocations: 7.906 kB / 485.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.733e-05/0.1509, allocations: 8.375 kB / 485.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1509, allocations: 7.922 kB / 485.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1509, allocations: 0 / 485.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1509, allocations: 4 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/0.1515, allocations: 424.1 kB / 486.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1515, allocations: 0 / 486.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/0.1516, allocations: 15.98 kB / 486.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.89e-05/0.1517, allocations: 28.78 kB / 486.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1517, allocations: 0 / 486.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008274/0.1525, allocations: 1.308 MB / 487.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1526, allocations: 3.938 kB / 487.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.153, allocations: 241.1 kB / 488 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.1531, allocations: 85.02 kB / 488 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.1531, allocations: 3.938 kB / 488 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.1532, allocations: 11.98 kB / 488.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.1533, allocations: 15.92 kB / 488.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1533, allocations: 8.062 kB / 488.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.587e-05/0.1533, allocations: 99.27 kB / 488.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1533, allocations: 0 / 488.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1536, allocations: 20 kB / 488.2 MB, free: 12.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001135/0.1537, allocations: 99.17 kB / 488.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005013/0.1542, allocations: 202.8 kB / 488.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.1542, allocations: 0 / 488.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.1545, allocations: 162.5 kB / 488.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1548, allocations: 8.75 kB / 488.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.1553, allocations: 252 kB / 488.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1555, allocations: 0.7043 MB / 489.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.535e-05/0.1556, allocations: 4 kB / 489.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.1556, allocations: 7.438 kB / 489.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1556, allocations: 0 / 489.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of Templates: time 0.003238/0.1589, allocations: 0.9654 MB / 490.6 MB, free: 9.672 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches