Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.11 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003084/0.003084, allocations: 75.56 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1398, allocations: 62.45 MB / 480.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004254/0.1441, allocations: 2.487 MB / 483.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.146, allocations: 1.094 MB / 484.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.736e-05/0.1462, allocations: 7.938 kB / 484.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.1475, allocations: 0.5018 MB / 484.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.1478, allocations: 111.2 kB / 485 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009141/0.1487, allocations: 478.1 kB / 485.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.149, allocations: 215.1 kB / 485.6 MB, free: 340 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004717/0.1495, allocations: 262.5 kB / 485.9 MB, free: 80 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.1497, allocations: 107.6 kB / 486 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1499, allocations: 123.5 kB / 486.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.15, allocations: 27.94 kB / 486.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.1503, allocations: 147.8 kB / 486.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.1503, allocations: 51.83 kB / 486.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1505, allocations: 115.5 kB / 486.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.151, allocations: 399 kB / 486.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.151, allocations: 0 / 486.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.151, allocations: 0 / 486.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.151, allocations: 4 kB / 486.9 MB, free: 15.12 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001378/0.1524, allocations: 0.6125 MB / 487.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1525, allocations: 12.03 kB / 487.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003301/0.1528, allocations: 52.62 kB / 487.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.153, allocations: 188 kB / 487.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.153, allocations: 20.94 kB / 487.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.1531, allocations: 28.38 kB / 487.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006241/0.1537, allocations: 287.7 kB / 488 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1538, allocations: 0 / 488 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.1538, allocations: 12 kB / 488.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.1538, allocations: 7.938 kB / 488.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005767/0.1544, allocations: 237.6 kB / 488.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.156, allocations: 1.005 MB / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.1566, allocations: 379.2 kB / 489.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.157, allocations: 133.7 kB / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.1572, allocations: 174.2 kB / 490 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1572, allocations: 34.56 kB / 490 MB, free: 11.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.1572, allocations: 0 / 490 MB, free: 11.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001282/0.1585, allocations: 0.4937 MB / 490.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.1586, allocations: 88.95 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1587, allocations: 140.2 kB / 490.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1588, allocations: 25.7 kB / 490.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1589, allocations: 148.1 kB / 490.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.159, allocations: 70.95 kB / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.159, allocations: 41.73 kB / 491 MB, free: 10.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1592, allocations: 322.8 kB / 491.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.1594, allocations: 67.95 kB / 491.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.1597, allocations: 121.8 kB / 491.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.1602, allocations: 208.2 kB / 491.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1602, allocations: 0 / 491.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006644/0.1609, allocations: 286.9 kB / 492 MB, free: 9.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1609, allocations: 7.938 kB / 492 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.1609, allocations: 4 kB / 492 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.1611, allocations: 41.7 kB / 492 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.1614, allocations: 47.89 kB / 492.1 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.1638, allocations: 2.84 MB / 494.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.164, allocations: 31.89 kB / 495 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.164, allocations: 4 kB / 495 MB, free: 6.289 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.1641, allocations: 145.9 kB / 495.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.1642, allocations: 15.81 kB / 495.1 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007098/0.1649, allocations: 278.6 kB / 495.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.165, allocations: 0 / 495.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.165, allocations: 4.109 kB / 495.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.165, allocations: 3.938 kB / 495.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.1662, allocations: 0.642 MB / 496 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.1662, allocations: 3.938 kB / 496 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.1664, allocations: 47.97 kB / 496.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.1666, allocations: 45.69 kB / 496.1 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.1666, allocations: 4 kB / 496.1 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.1688, allocations: 2.836 MB / 499 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.1689, allocations: 4.031 kB / 499 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.1699, allocations: 0.5161 MB / 499.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/0.1699, allocations: 89.02 kB / 499.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.17, allocations: 12 kB / 499.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.1702, allocations: 15.97 kB / 499.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.1702, allocations: 23.92 kB / 499.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1703, allocations: 4 kB / 499.6 MB, free: 1.191 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.988e-05/0.1704, allocations: 115.2 kB / 499.7 MB, free: 1.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1704, allocations: 0 / 499.7 MB, free: 1.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004566/0.1708, allocations: 75.78 kB / 499.8 MB, free: 1.004 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0002411/0.1711, allocations: 126.9 kB / 499.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008149/0.1719, allocations: 423.6 kB / 0.4886 GB, free: 448 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1719, allocations: 0 / 0.4886 GB, free: 448 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.1724, allocations: 329.8 kB / 0.4889 GB, free: 92 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.1728, allocations: 16.06 kB / 0.489 GB, free: 76 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/0.1738, allocations: 0.4914 MB / 0.4894 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.1742, allocations: 0.7398 MB / 0.4902 GB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.1743, allocations: 19.44 kB / 0.4902 GB, free: 14.76 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1743, allocations: 3.938 kB / 0.4902 GB, free: 14.76 MB / 382.1 MB Notification: Performance of Templates: time 0.006885/0.1812, allocations: 4.296 MB / 0.4944 GB, free: 10.45 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches