Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 107.1 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2061/0.2061, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 69.42 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1188, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002877/0.1217, allocations: 1.708 MB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001588/0.1219, allocations: 87.66 kB / 472.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.1219, allocations: 4 kB / 472.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.615e-05/0.122, allocations: 7.875 kB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.928e-05/0.1221, allocations: 27.77 kB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.127e-05/0.1222, allocations: 27.95 kB / 472.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1223, allocations: 107.6 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.1225, allocations: 59.95 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.465e-05/0.1225, allocations: 43.84 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.979e-05/0.1226, allocations: 47.78 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1226, allocations: 12 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.978e-05/0.1227, allocations: 12 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.1227, allocations: 31.89 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.1228, allocations: 47.8 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1229, allocations: 111.6 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1229, allocations: 4 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.123, allocations: 7.938 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.123, allocations: 0 / 473 MB, free: 11.31 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.0006025/0.1236, allocations: 415.1 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1236, allocations: 11.97 kB / 473.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.1237, allocations: 12.84 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1238, allocations: 180.2 kB / 473.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1238, allocations: 4.375 kB / 473.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1238, allocations: 12.38 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.1241, allocations: 133.8 kB / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1241, allocations: 192 / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1242, allocations: 3.938 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1242, allocations: 4 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.1245, allocations: 111.8 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007336/0.1253, allocations: 471.3 kB / 474.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1255, allocations: 78.53 kB / 474.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.1257, allocations: 80.84 kB / 474.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.1257, allocations: 0 / 474.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1258, allocations: 34.56 kB / 474.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1258, allocations: 0 / 474.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000782/0.1266, allocations: 271.3 kB / 474.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1266, allocations: 59.34 kB / 474.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.018e-05/0.1267, allocations: 117.8 kB / 475 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1267, allocations: 33.7 kB / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.1268, allocations: 104.1 kB / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1268, allocations: 19.8 kB / 475.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.1269, allocations: 17.72 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.127, allocations: 318.8 kB / 475.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1271, allocations: 31.97 kB / 475.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1273, allocations: 62.53 kB / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.1276, allocations: 98.44 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1276, allocations: 7.938 kB / 475.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003701/0.128, allocations: 142.3 kB / 475.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.128, allocations: 4 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.128, allocations: 4 kB / 475.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.1281, allocations: 24.91 kB / 475.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1283, allocations: 15.98 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.1294, allocations: 1.406 MB / 477.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.261e-05/0.1295, allocations: 15.97 kB / 477.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1295, allocations: 3.938 kB / 477.3 MB, free: 6.637 MB / 350.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.774e-05/0.1296, allocations: 121.8 kB / 477.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1296, allocations: 11.84 kB / 477.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.1297, allocations: 8.828 kB / 477.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1297, allocations: 12.05 kB / 477.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.1297, allocations: 0 / 477.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1297, allocations: 4 kB / 477.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.1303, allocations: 420.1 kB / 477.8 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1303, allocations: 0 / 477.8 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.537e-05/0.1304, allocations: 24 kB / 477.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.185e-05/0.1305, allocations: 20.84 kB / 477.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1305, allocations: 0 / 477.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009081/0.1314, allocations: 1.406 MB / 479.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1314, allocations: 0 / 479.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.1318, allocations: 241 kB / 479.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.1319, allocations: 88.95 kB / 479.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1319, allocations: 4 kB / 479.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.132, allocations: 11.98 kB / 479.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.1321, allocations: 7.984 kB / 479.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1321, allocations: 0 / 479.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.153e-05/0.1321, allocations: 99.27 kB / 479.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1321, allocations: 4 kB / 479.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1324, allocations: 19.94 kB / 479.8 MB, free: 3.898 MB / 350.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.628e-05/0.1325, allocations: 103.3 kB / 479.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004705/0.133, allocations: 210.7 kB / 480.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.133, allocations: 4 kB / 480.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.1332, allocations: 166.7 kB / 480.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.1335, allocations: 3.984 kB / 480.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.134, allocations: 217.1 kB / 480.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1343, allocations: 0.7002 MB / 481.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.86e-05/0.1343, allocations: 0 / 481.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.1343, allocations: 11.44 kB / 481.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1343, allocations: 0 / 481.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of Templates: time 0.004091/0.1384, allocations: 1.104 MB / 482.3 MB, free: 1.305 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches