Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 106.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001777, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 222.9 MB / 241.8 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2415/0.2415, allocations: 44.18 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 69.3 kB / 407.7 MB, free: 27.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.14, allocations: 60.82 MB / 468.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003168/0.1432, allocations: 1.773 MB / 470.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001555/0.1433, allocations: 87.66 kB / 470.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.1434, allocations: 0 / 470.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.37e-05/0.1435, allocations: 7.938 kB / 470.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.407e-05/0.1435, allocations: 15.84 kB / 470.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.1437, allocations: 23.98 kB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1438, allocations: 107.6 kB / 470.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.1439, allocations: 54.55 kB / 470.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.176e-05/0.144, allocations: 39.84 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.1441, allocations: 51.77 kB / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.1441, allocations: 8 kB / 470.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.1441, allocations: 12 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.1442, allocations: 15.92 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.1442, allocations: 51.8 kB / 470.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.1444, allocations: 111.9 kB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1444, allocations: 0 / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1444, allocations: 0 / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1444, allocations: 0 / 470.9 MB, free: 12.54 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.0005895/0.145, allocations: 419.2 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.145, allocations: 12.03 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.1451, allocations: 16.84 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1452, allocations: 180.1 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1452, allocations: 8.375 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.1452, allocations: 12.38 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.1456, allocations: 114.2 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1456, allocations: 192 / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1456, allocations: 7.938 kB / 471.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1456, allocations: 4 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.146, allocations: 115.7 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.1467, allocations: 475.3 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.147, allocations: 86.53 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.1472, allocations: 60.94 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.1472, allocations: 0 / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1472, allocations: 38.56 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1472, allocations: 0 / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008285/0.1481, allocations: 271.3 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1481, allocations: 51.41 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.704e-05/0.1482, allocations: 125.8 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1483, allocations: 25.7 kB / 472.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.1483, allocations: 108.1 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.1484, allocations: 15.81 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.1484, allocations: 21.72 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1485, allocations: 318.8 kB / 473.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1487, allocations: 39.91 kB / 473.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.1489, allocations: 62.52 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.1492, allocations: 90.5 kB / 473.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1492, allocations: 7.938 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003902/0.1496, allocations: 154.2 kB / 473.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1496, allocations: 4 kB / 473.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1496, allocations: 0 / 473.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.1497, allocations: 24.84 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1499, allocations: 19.97 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.151, allocations: 1.312 MB / 475 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.63e-05/0.1511, allocations: 11.98 kB / 475 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.1511, allocations: 0 / 475 MB, free: 7.961 MB / 350.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 9.828e-05/0.1512, allocations: 121.9 kB / 475.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1512, allocations: 7.906 kB / 475.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.823e-05/0.1512, allocations: 8.375 kB / 475.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1513, allocations: 7.938 kB / 475.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1513, allocations: 0 / 475.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1513, allocations: 0 / 475.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000656/0.1519, allocations: 428.1 kB / 475.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1519, allocations: 3.938 kB / 475.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/0.152, allocations: 23.91 kB / 475.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.219e-05/0.1521, allocations: 17 kB / 475.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1521, allocations: 3.984 kB / 475.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.1531, allocations: 1.307 MB / 476.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1532, allocations: 3.938 kB / 476.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.1536, allocations: 245.2 kB / 477.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.1536, allocations: 85 kB / 477.3 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1536, allocations: 7.938 kB / 477.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1538, allocations: 11.98 kB / 477.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.1538, allocations: 11.92 kB / 477.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.1538, allocations: 8 kB / 477.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.411e-05/0.1539, allocations: 99.64 kB / 477.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1539, allocations: 0 / 477.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1542, allocations: 20 kB / 477.4 MB, free: 5.312 MB / 350.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.0001012/0.1543, allocations: 99.72 kB / 477.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004721/0.1548, allocations: 206.6 kB / 477.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1548, allocations: 0 / 477.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.155, allocations: 162.6 kB / 477.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.1553, allocations: 8 kB / 477.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.1558, allocations: 259.2 kB / 478.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1561, allocations: 0.6965 MB / 478.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.945e-05/0.1561, allocations: 7.984 kB / 478.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.1562, allocations: 7.438 kB / 478.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1562, allocations: 0 / 478.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of Templates: time 0.003454/0.1596, allocations: 0.9626 MB / 479.8 MB, free: 2.836 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches