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.001127/0.001128, allocations: 115.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.4 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.2301/0.2301, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 73.22 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1168, allocations: 62.45 MB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002675/0.1195, allocations: 1.789 MB / 481.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001488/0.1196, allocations: 87.66 kB / 481.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.1197, allocations: 4 kB / 481.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.264e-05/0.1198, allocations: 11.92 kB / 481.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.293e-05/0.1198, allocations: 15.84 kB / 481.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.865e-05/0.1199, allocations: 23.98 kB / 481.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.12, allocations: 103.6 kB / 481.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.1202, allocations: 55.94 kB / 481.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.753e-05/0.1203, allocations: 43.86 kB / 481.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.1204, allocations: 55.77 kB / 481.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.1204, allocations: 12 kB / 481.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.1204, allocations: 8 kB / 481.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.1205, allocations: 23.92 kB / 481.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.1205, allocations: 43.8 kB / 481.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1207, allocations: 123.8 kB / 481.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1207, allocations: 0 / 481.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1207, allocations: 0 / 481.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1207, allocations: 0 / 481.9 MB, free: 3.191 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.0006568/0.1213, allocations: 419.1 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.1214, allocations: 12.03 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.1215, allocations: 8.844 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.1216, allocations: 180.2 kB / 482.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1216, allocations: 8.375 kB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1217, allocations: 12.38 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.122, allocations: 118 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.122, allocations: 4.188 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.1221, allocations: 7.938 kB / 482.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.1221, allocations: 4 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.1224, allocations: 103.9 kB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.1233, allocations: 479.2 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.1236, allocations: 86.47 kB / 483.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.1238, allocations: 68.92 kB / 483.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1238, allocations: 0 / 483.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.1239, allocations: 42.5 kB / 483.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.1239, allocations: 0 / 483.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008384/0.1247, allocations: 271.3 kB / 483.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1248, allocations: 51.41 kB / 483.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.959e-05/0.1249, allocations: 117.8 kB / 483.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1249, allocations: 29.7 kB / 483.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.125, allocations: 108.1 kB / 484 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.125, allocations: 15.8 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.1251, allocations: 17.72 kB / 484 MB, free: 0.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1252, allocations: 318.8 kB / 484.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.1254, allocations: 39.95 kB / 484.3 MB, free: 484 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.1256, allocations: 62.52 kB / 484.4 MB, free: 412 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.1259, allocations: 94.44 kB / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1259, allocations: 11.94 kB / 484.5 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003844/0.1263, allocations: 146.6 kB / 484.6 MB, free: 140 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1263, allocations: 6.656 kB / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1263, allocations: 0 / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.1265, allocations: 32.84 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1266, allocations: 15.98 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009909/0.1276, allocations: 1.407 MB / 486.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.663e-05/0.1277, allocations: 16.02 kB / 486.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1277, allocations: 4 kB / 486.1 MB, free: 14.52 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.654e-05/0.1278, allocations: 117.8 kB / 486.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1278, allocations: 11.84 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.1279, allocations: 12.44 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.1279, allocations: 0 / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1279, allocations: 0 / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1279, allocations: 4 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.1286, allocations: 424.1 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1286, allocations: 4 kB / 486.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.645e-05/0.1287, allocations: 11.98 kB / 486.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.482e-05/0.1288, allocations: 28.78 kB / 486.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1288, allocations: 0 / 486.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009421/0.1298, allocations: 1.41 MB / 488.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1298, allocations: 3.938 kB / 488.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.1302, allocations: 249.1 kB / 488.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.1303, allocations: 81.02 kB / 488.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1303, allocations: 4 kB / 488.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1304, allocations: 7.984 kB / 488.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.1304, allocations: 23.86 kB / 488.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1305, allocations: 4 kB / 488.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.647e-05/0.1305, allocations: 91.27 kB / 488.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1305, allocations: 0 / 488.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1308, allocations: 27.94 kB / 488.6 MB, free: 11.77 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.0001245/0.1309, allocations: 99.95 kB / 488.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005212/0.1314, allocations: 206.6 kB / 488.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1315, allocations: 0 / 488.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.1317, allocations: 162.6 kB / 489.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1321, allocations: 8.188 kB / 489.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.1326, allocations: 253 kB / 489.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.133, allocations: 0.702 MB / 490 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.316e-05/0.133, allocations: 4 kB / 490 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.1331, allocations: 7.438 kB / 490 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1331, allocations: 0 / 490 MB, free: 10.25 MB / 366.1 MB Notification: Performance of Templates: time 0.003779/0.1369, allocations: 0.9994 MB / 491 MB, free: 9.254 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