Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001736/0.001736, allocations: 110.8 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002201/0.002201, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.2 MB / 255.1 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2379/0.2379, allocations: 46.88 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 83.86 kB / 0.4923 GB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.125, allocations: 65.99 MB / 0.5568 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003285/0.1283, allocations: 1.738 MB / 0.5585 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001872/0.1285, allocations: 79.72 kB / 0.5586 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.1286, allocations: 4 kB / 0.5586 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.132e-05/0.1286, allocations: 11.88 kB / 0.5586 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.05e-05/0.1287, allocations: 27.72 kB / 0.5586 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.814e-05/0.1288, allocations: 27.95 kB / 0.5586 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.129, allocations: 107.6 kB / 0.5587 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1291, allocations: 43.91 kB / 0.5588 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.916e-05/0.1292, allocations: 39.91 kB / 0.5588 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.688e-05/0.1293, allocations: 47.78 kB / 0.5588 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.1293, allocations: 16 kB / 0.5589 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.22e-05/0.1293, allocations: 8 kB / 0.5589 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.1293, allocations: 27.91 kB / 0.5589 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.1294, allocations: 59.72 kB / 0.559 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.1296, allocations: 107.6 kB / 0.5591 GB, free: 3.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1296, allocations: 3.938 kB / 0.5591 GB, free: 3.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1296, allocations: 0 / 0.5591 GB, free: 3.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1296, allocations: 0 / 0.5591 GB, free: 3.594 MB / 414.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.0006404/0.1302, allocations: 427 kB / 0.5595 GB, free: 3.125 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1302, allocations: 11.97 kB / 0.5595 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1303, allocations: 8.891 kB / 0.5595 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1304, allocations: 184.2 kB / 0.5597 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1304, allocations: 8.375 kB / 0.5597 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1305, allocations: 12.38 kB / 0.5597 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.1308, allocations: 122.1 kB / 0.5598 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1308, allocations: 4.188 kB / 0.5598 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1308, allocations: 7.938 kB / 0.5598 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1308, allocations: 0 / 0.5598 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.1312, allocations: 111.8 kB / 0.5599 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.1319, allocations: 471.4 kB / 0.5604 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.1322, allocations: 78.47 kB / 0.5604 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.1324, allocations: 64.92 kB / 0.5605 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1325, allocations: 4 kB / 0.5605 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1325, allocations: 30.56 kB / 0.5605 GB, free: 1.906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.1325, allocations: 0 / 0.5605 GB, free: 1.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008392/0.1333, allocations: 271.3 kB / 0.5608 GB, free: 1.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.1334, allocations: 55.41 kB / 0.5608 GB, free: 1.547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1335, allocations: 121.8 kB / 0.561 GB, free: 1.418 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1335, allocations: 29.7 kB / 0.561 GB, free: 1.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.1336, allocations: 104.2 kB / 0.5611 GB, free: 1.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1336, allocations: 27.78 kB / 0.5611 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.1336, allocations: 21.7 kB / 0.5611 GB, free: 1.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1338, allocations: 318.8 kB / 0.5614 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.1339, allocations: 35.95 kB / 0.5615 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.1341, allocations: 58.53 kB / 0.5615 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.1344, allocations: 98.45 kB / 0.5616 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1344, allocations: 3.938 kB / 0.5616 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004339/0.1349, allocations: 150.3 kB / 0.5618 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1349, allocations: 4 kB / 0.5618 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1349, allocations: 0 / 0.5618 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.135, allocations: 24.84 kB / 0.5618 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1352, allocations: 19.92 kB / 0.5618 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.1364, allocations: 1.408 MB / 0.5632 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/0.1365, allocations: 12.02 kB / 0.5632 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1365, allocations: 4 kB / 0.5632 GB, free: 14.92 MB / 430.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.0001056/0.1366, allocations: 121.8 kB / 0.5633 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1367, allocations: 11.89 kB / 0.5633 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.1367, allocations: 16.5 kB / 0.5634 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1367, allocations: 7.984 kB / 0.5634 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1367, allocations: 0 / 0.5634 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1367, allocations: 0 / 0.5634 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007066/0.1374, allocations: 424 kB / 0.5638 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1374, allocations: 4 kB / 0.5638 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.923e-05/0.1375, allocations: 15.98 kB / 0.5638 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.538e-05/0.1376, allocations: 24.84 kB / 0.5638 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1376, allocations: 0 / 0.5638 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.1387, allocations: 1.398 MB / 0.5652 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1387, allocations: 0 / 0.5652 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.1392, allocations: 245.2 kB / 0.5654 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.1392, allocations: 89.05 kB / 0.5655 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1392, allocations: 4 kB / 0.5655 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1393, allocations: 15.98 kB / 0.5655 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.1394, allocations: 7.984 kB / 0.5655 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.1394, allocations: 4 kB / 0.5655 GB, free: 12.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.845e-05/0.1395, allocations: 99.64 kB / 0.5656 GB, free: 12.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1395, allocations: 0 / 0.5656 GB, free: 12.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1398, allocations: 31.83 kB / 0.5657 GB, free: 12.16 MB / 430.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.0001084/0.1399, allocations: 95.19 kB / 0.5657 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005445/0.1404, allocations: 206.6 kB / 0.5659 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1404, allocations: 0 / 0.5659 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.1407, allocations: 158.6 kB / 0.5661 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.141, allocations: 12.33 kB / 0.5661 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.1415, allocations: 246.6 kB / 0.5663 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.1418, allocations: 0.6924 MB / 0.567 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.1419, allocations: 11.44 kB / 0.567 GB, free: 10.66 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1419, allocations: 7.938 kB / 0.567 GB, free: 10.65 MB / 430.1 MB Notification: Performance of Templates: time 0.003482/0.1453, allocations: 1.597 MB / 0.5686 GB, free: 9.051 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.857892130035907]