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.0008963/0.000896, allocations: 90.98 kB / 18 MB, free: 5.734 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.001049/0.001049, allocations: 177.6 kB / 18.91 MB, free: 4.871 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.36/1.36, allocations: 223.3 MB / 243 MB, free: 14.28 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.2196/0.2196, allocations: 44.24 MB / 338.3 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003461, allocations: 13.19 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002182/0.1202, allocations: 1.418 MB / 474.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001913/0.1204, allocations: 95.58 kB / 474.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.1205, allocations: 4 kB / 474.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/0.1205, allocations: 11.92 kB / 474.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.1206, allocations: 11.86 kB / 474.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.1207, allocations: 27.97 kB / 474.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.1209, allocations: 99.59 kB / 474.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.121, allocations: 47.81 kB / 474.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/0.1211, allocations: 39.84 kB / 474.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.1212, allocations: 43.77 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1212, allocations: 8 kB / 474.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.1213, allocations: 8 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.1213, allocations: 15.92 kB / 474.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.1214, allocations: 69.5 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.1215, allocations: 80.03 kB / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1215, allocations: 0 / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1215, allocations: 0 / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1215, allocations: 0 / 474.9 MB, free: 11.33 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.0007469/0.1223, allocations: 419.2 kB / 475.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1223, allocations: 8.031 kB / 475.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1224, allocations: 12.84 kB / 475.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.1225, allocations: 180.2 kB / 475.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1225, allocations: 8.375 kB / 475.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1226, allocations: 8.375 kB / 475.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.123, allocations: 134.2 kB / 475.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.123, allocations: 192 / 475.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.123, allocations: 7.938 kB / 475.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.123, allocations: 7.938 kB / 475.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.1234, allocations: 135.7 kB / 475.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008454/0.1243, allocations: 471.4 kB / 476.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.1246, allocations: 98.53 kB / 476.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.1248, allocations: 72.94 kB / 476.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.1249, allocations: 0 / 476.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.1249, allocations: 34.56 kB / 476.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.1249, allocations: 7.938 kB / 476.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009056/0.1258, allocations: 303.3 kB / 476.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.1259, allocations: 55.41 kB / 476.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.126, allocations: 117.8 kB / 476.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.126, allocations: 29.7 kB / 476.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.1261, allocations: 116 kB / 477.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.1262, allocations: 15.72 kB / 477.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.1262, allocations: 17.66 kB / 477.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.1264, allocations: 318.8 kB / 477.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.1266, allocations: 43.97 kB / 477.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.1269, allocations: 70.53 kB / 477.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.1273, allocations: 122.8 kB / 477.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1273, allocations: 3.938 kB / 477.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006476/0.128, allocations: 174.2 kB / 477.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.128, allocations: 4 kB / 477.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.128, allocations: 0 / 477.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.1282, allocations: 24.84 kB / 477.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.1283, allocations: 28.03 kB / 477.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.1294, allocations: 1.304 MB / 479.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1295, allocations: 23.98 kB / 479.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1295, allocations: 4 kB / 479.2 MB, free: 6.594 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 0.0001074/0.1296, allocations: 123 kB / 479.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.1297, allocations: 7.906 kB / 479.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.1297, allocations: 8.375 kB / 479.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1297, allocations: 3.938 kB / 479.3 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1297, allocations: 4 kB / 479.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1297, allocations: 3.938 kB / 479.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.1304, allocations: 448 kB / 479.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1305, allocations: 4 kB / 479.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.641e-05/0.1306, allocations: 19.97 kB / 479.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.989e-05/0.1306, allocations: 20.86 kB / 479.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1307, allocations: 0 / 479.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009468/0.1316, allocations: 1.312 MB / 481.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.1316, allocations: 3.938 kB / 481.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.1321, allocations: 269.2 kB / 481.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.1322, allocations: 89 kB / 481.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1322, allocations: 3.938 kB / 481.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.1323, allocations: 15.98 kB / 481.5 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.1324, allocations: 11.98 kB / 481.5 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.1324, allocations: 8 kB / 481.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.1325, allocations: 91.27 kB / 481.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1325, allocations: 0 / 481.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1328, allocations: 27.91 kB / 481.6 MB, free: 3.895 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 0.0001066/0.1329, allocations: 95.72 kB / 481.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000562/0.1334, allocations: 230.6 kB / 482 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1335, allocations: 0 / 482 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.1337, allocations: 170.8 kB / 482.1 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1341, allocations: 11.94 kB / 482.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.1346, allocations: 292.5 kB / 482.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1349, allocations: 0.7004 MB / 483.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.1349, allocations: 11.44 kB / 483.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1349, allocations: 0 / 483.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of Templates: time 0.003422/0.1384, allocations: 1.574 MB / 484.7 MB, free: 0.7266 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 -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