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.001126, 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.001264/0.001264, allocations: 211.8 kB / 19.25 MB, free: 3.938 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.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 72 kB / 418.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1122, allocations: 62.46 MB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003132/0.1154, allocations: 1.717 MB / 482.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002171/0.1157, allocations: 95.64 kB / 482.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.1157, allocations: 0 / 482.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.163e-05/0.1158, allocations: 11.86 kB / 482.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.1159, allocations: 19.8 kB / 482.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.116, allocations: 31.95 kB / 482.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.1162, allocations: 103.6 kB / 482.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1163, allocations: 47.95 kB / 482.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.1164, allocations: 47.86 kB / 482.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.115e-05/0.1165, allocations: 55.77 kB / 482.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.1165, allocations: 8 kB / 482.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.994e-05/0.1166, allocations: 12 kB / 482.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.1166, allocations: 23.92 kB / 482.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.1167, allocations: 43.8 kB / 482.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1168, allocations: 123.8 kB / 483 MB, free: 2.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1168, allocations: 0 / 483 MB, free: 2.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1168, allocations: 0 / 483 MB, free: 2.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1169, allocations: 0 / 483 MB, free: 2.938 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.0006275/0.1175, allocations: 419.1 kB / 483.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1175, allocations: 15.97 kB / 483.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.1176, allocations: 8.844 kB / 483.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1177, allocations: 176.2 kB / 483.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1177, allocations: 16.34 kB / 483.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.1178, allocations: 8.375 kB / 483.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.1181, allocations: 126 kB / 483.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1181, allocations: 192 / 483.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1181, allocations: 7.938 kB / 483.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1181, allocations: 4 kB / 483.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.1185, allocations: 103.8 kB / 483.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.1193, allocations: 479.3 kB / 484.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1195, allocations: 86.53 kB / 484.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.1198, allocations: 60.94 kB / 484.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1198, allocations: 3.984 kB / 484.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1198, allocations: 42.5 kB / 484.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1198, allocations: 3.938 kB / 484.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008095/0.1206, allocations: 271.4 kB / 484.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.1207, allocations: 51.41 kB / 484.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1208, allocations: 121.8 kB / 485 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.1208, allocations: 25.7 kB / 485 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.1209, allocations: 108.1 kB / 485.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.121, allocations: 15.8 kB / 485.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.121, allocations: 21.66 kB / 485.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1212, allocations: 318.8 kB / 485.5 MB, free: 252 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.1213, allocations: 35.95 kB / 485.5 MB, free: 216 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.1215, allocations: 62.53 kB / 485.6 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.1219, allocations: 94.5 kB / 485.7 MB, free: 40 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.1219, allocations: 3.938 kB / 485.7 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004832/0.1224, allocations: 150.2 kB / 485.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1224, allocations: 4 kB / 485.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.1224, allocations: 0 / 485.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.1226, allocations: 28.91 kB / 485.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1227, allocations: 15.98 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.124, allocations: 1.407 MB / 487.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1241, allocations: 12.02 kB / 487.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1241, allocations: 4.312 kB / 487.3 MB, free: 14.27 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 0.000107/0.1242, allocations: 117.8 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.1243, allocations: 19.89 kB / 487.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.1243, allocations: 12.31 kB / 487.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1243, allocations: 0 / 487.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1243, allocations: 4 kB / 487.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1243, allocations: 4 kB / 487.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006776/0.125, allocations: 428 kB / 487.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.125, allocations: 0 / 487.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-05/0.1251, allocations: 15.98 kB / 487.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.177e-05/0.1252, allocations: 24.84 kB / 487.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1252, allocations: 0 / 487.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009442/0.1262, allocations: 1.41 MB / 489.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1262, allocations: 0 / 489.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.1266, allocations: 253 kB / 489.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.1267, allocations: 81.02 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1267, allocations: 4 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1268, allocations: 11.98 kB / 489.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.1269, allocations: 11.98 kB / 489.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1269, allocations: 4 kB / 489.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.472e-05/0.127, allocations: 95.64 kB / 489.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.127, allocations: 0 / 489.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1272, allocations: 27.94 kB / 489.8 MB, free: 11.51 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.0001091/0.1273, allocations: 98.75 kB / 489.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.1279, allocations: 210.7 kB / 490.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1279, allocations: 0 / 490.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.1281, allocations: 162.6 kB / 490.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1285, allocations: 17.25 kB / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.1289, allocations: 242.7 kB / 490.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.1292, allocations: 0.6963 MB / 491.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.1293, allocations: 11.44 kB / 491.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1293, allocations: 0 / 491.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of Templates: time 0.003187/0.1325, allocations: 1.594 MB / 492.8 MB, free: 8.398 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/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