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.001503/0.001503, allocations: 121 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001873/0.001873, allocations: 212.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 71.89 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1223, allocations: 62.45 MB / 481.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002863/0.1252, allocations: 1.73 MB / 483.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001523/0.1254, allocations: 79.72 kB / 483.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.1254, allocations: 0 / 483.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.343e-05/0.1255, allocations: 15.88 kB / 483.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.1256, allocations: 23.72 kB / 483.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.896e-05/0.1257, allocations: 27.97 kB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.1258, allocations: 111.6 kB / 483.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.126, allocations: 51.95 kB / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.126, allocations: 39.86 kB / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.1261, allocations: 55.77 kB / 483.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1262, allocations: 8 kB / 483.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.654e-05/0.1262, allocations: 12 kB / 483.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.1262, allocations: 23.92 kB / 483.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.1263, allocations: 59.72 kB / 483.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1264, allocations: 119.6 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1264, allocations: 0 / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1264, allocations: 0 / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1264, allocations: 0 / 483.8 MB, free: 2.203 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.0005881/0.127, allocations: 419.1 kB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1271, allocations: 12.03 kB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.1271, allocations: 8.844 kB / 484.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1272, allocations: 180.2 kB / 484.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1273, allocations: 4.375 kB / 484.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1273, allocations: 12.38 kB / 484.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.1276, allocations: 126 kB / 484.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1276, allocations: 192 / 484.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1276, allocations: 3.938 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1277, allocations: 7.984 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.128, allocations: 107.9 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/0.1287, allocations: 475.3 kB / 485.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.1289, allocations: 94.41 kB / 485.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.1291, allocations: 60.94 kB / 485.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.1291, allocations: 3.938 kB / 485.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.1292, allocations: 34.56 kB / 485.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1292, allocations: 4 kB / 485.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007322/0.1299, allocations: 275.3 kB / 485.6 MB, free: 220 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.13, allocations: 51.41 kB / 485.6 MB, free: 156 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.1301, allocations: 121.8 kB / 485.8 MB, free: 24 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1301, allocations: 25.7 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.1302, allocations: 108.1 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1302, allocations: 19.8 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.1302, allocations: 17.72 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1303, allocations: 322.8 kB / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1305, allocations: 35.97 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1306, allocations: 54.53 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.1309, allocations: 102.4 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1309, allocations: 3.938 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003643/0.1313, allocations: 146.3 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1313, allocations: 8 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1313, allocations: 0 / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.1315, allocations: 24.84 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1316, allocations: 19.92 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000991/0.1326, allocations: 1.408 MB / 488 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1327, allocations: 16 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1328, allocations: 4 kB / 488.1 MB, free: 13.53 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.452e-05/0.1328, allocations: 117.9 kB / 488.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.1329, allocations: 7.844 kB / 488.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.1329, allocations: 16.38 kB / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1329, allocations: 0 / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1329, allocations: 320 / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1329, allocations: 0 / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/0.1335, allocations: 432.1 kB / 488.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1335, allocations: 0 / 488.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.1336, allocations: 19.97 kB / 488.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.253e-05/0.1337, allocations: 24.84 kB / 488.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1337, allocations: 3.938 kB / 488.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008634/0.1346, allocations: 1.406 MB / 490.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1346, allocations: 0 / 490.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.135, allocations: 241.1 kB / 490.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.135, allocations: 85.02 kB / 490.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.135, allocations: 0 / 490.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1352, allocations: 15.98 kB / 490.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.1352, allocations: 15.92 kB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1352, allocations: 4 kB / 490.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.83e-05/0.1353, allocations: 95.27 kB / 490.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.403e-06/0.1353, allocations: 0 / 490.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1355, allocations: 27.88 kB / 490.5 MB, free: 10.78 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 9.912e-05/0.1356, allocations: 99.19 kB / 490.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004456/0.1361, allocations: 202.6 kB / 490.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1361, allocations: 0 / 490.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.1363, allocations: 162.8 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.1367, allocations: 15.22 kB / 491 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.1371, allocations: 216.7 kB / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1373, allocations: 0.7001 MB / 491.9 MB, free: 9.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.167e-05/0.1374, allocations: 4 kB / 491.9 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.1374, allocations: 11.44 kB / 491.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1374, allocations: 0 / 491.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of Templates: time 0.003319/0.1407, allocations: 1.1 MB / 493 MB, free: 8.203 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches