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.0007739/0.0007739, allocations: 93.27 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009747/0.0009748, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2006/0.2006, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002908, allocations: 8.234 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1118, allocations: 63.56 MB / 483.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.001897/0.1138, allocations: 1.45 MB / 485.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001891/0.114, allocations: 87.72 kB / 485.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.114, allocations: 0 / 485.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.1141, allocations: 7.922 kB / 485.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.1142, allocations: 19.84 kB / 485.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.1143, allocations: 23.98 kB / 485.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.1144, allocations: 99.58 kB / 485.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1146, allocations: 47.97 kB / 485.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.1147, allocations: 35.86 kB / 485.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.1147, allocations: 47.77 kB / 485.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.1148, allocations: 4 kB / 485.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.655e-05/0.1148, allocations: 8 kB / 485.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.1148, allocations: 11.92 kB / 485.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.1149, allocations: 65.5 kB / 485.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.115, allocations: 88.03 kB / 485.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.115, allocations: 0 / 485.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.115, allocations: 0 / 485.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.115, allocations: 4 kB / 485.7 MB, free: 2.184 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.0005695/0.1156, allocations: 411.2 kB / 486.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1157, allocations: 8.875 kB / 486.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.1157, allocations: 12.84 kB / 486.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1158, allocations: 180.2 kB / 486.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1159, allocations: 12.31 kB / 486.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1159, allocations: 12.38 kB / 486.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.1162, allocations: 141.9 kB / 486.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1162, allocations: 4.188 kB / 486.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1163, allocations: 7.938 kB / 486.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1163, allocations: 4 kB / 486.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.1167, allocations: 127.9 kB / 486.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/0.1174, allocations: 475.4 kB / 487.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.1177, allocations: 94.52 kB / 487.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.1179, allocations: 76.94 kB / 487.2 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.118, allocations: 3.938 kB / 487.3 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.118, allocations: 30.56 kB / 487.3 MB, free: 456 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.118, allocations: 4 kB / 487.3 MB, free: 452 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000841/0.1189, allocations: 299.4 kB / 487.6 MB, free: 124 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1189, allocations: 59.34 kB / 487.6 MB, free: 52 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.119, allocations: 117.8 kB / 487.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.119, allocations: 25.7 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.1191, allocations: 112.1 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.1191, allocations: 19.7 kB / 487.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.1192, allocations: 13.72 kB / 487.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1193, allocations: 314.8 kB / 488.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.1195, allocations: 51.95 kB / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.1196, allocations: 70.53 kB / 488.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.12, allocations: 122.4 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.12, allocations: 3.938 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000435/0.1204, allocations: 166.3 kB / 488.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1205, allocations: 4 kB / 488.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1205, allocations: 320 / 488.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.1206, allocations: 28.91 kB / 488.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1207, allocations: 23.98 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000946/0.1217, allocations: 1.309 MB / 490 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1218, allocations: 19.92 kB / 490 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1218, allocations: 8 kB / 490 MB, free: 13.46 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 9.361e-05/0.1219, allocations: 113.8 kB / 490.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.122, allocations: 11.84 kB / 490.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.122, allocations: 20.36 kB / 490.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.122, allocations: 3.938 kB / 490.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.122, allocations: 4 kB / 490.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.122, allocations: 0 / 490.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000664/0.1227, allocations: 440.1 kB / 490.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1227, allocations: 0 / 490.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/0.1228, allocations: 24.02 kB / 490.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.099e-05/0.1229, allocations: 28.78 kB / 490.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1229, allocations: 0 / 490.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008539/0.1238, allocations: 1.319 MB / 492 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1238, allocations: 3.938 kB / 492 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.1242, allocations: 257.2 kB / 492.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.1243, allocations: 85.02 kB / 492.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.1243, allocations: 3.938 kB / 492.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1245, allocations: 23.97 kB / 492.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.1245, allocations: 8 kB / 492.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1245, allocations: 4 kB / 492.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.408e-05/0.1246, allocations: 91.27 kB / 492.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1246, allocations: 0 / 492.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1249, allocations: 27.91 kB / 492.5 MB, free: 10.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.0001059/0.125, allocations: 103.2 kB / 492.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005639/0.1255, allocations: 226.7 kB / 492.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1255, allocations: 0 / 492.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.1258, allocations: 162.7 kB / 492.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.1261, allocations: 16.05 kB / 493 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.1266, allocations: 296.5 kB / 493.3 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.127, allocations: 0.6984 MB / 494 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.127, allocations: 11.44 kB / 494 MB, free: 9.172 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.127, allocations: 0 / 494 MB, free: 9.172 MB / 366.1 MB Notification: Performance of Templates: time 0.003542/0.1306, allocations: 1.582 MB / 495.5 MB, free: 7.59 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