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.001621/0.001621, allocations: 121.3 kB / 19.18 MB, free: 3.852 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.001913/0.001913, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.42/1.42, allocations: 230.3 MB / 255.2 MB, free: 15.34 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.2213/0.2213, allocations: 46.93 MB / 358.2 MB, free: 10.4 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.002408/0.002408, allocations: 75.88 kB / 0.4925 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1243, allocations: 66 MB / 0.5569 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003929/0.1282, allocations: 1.738 MB / 0.5586 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002849/0.1285, allocations: 87.66 kB / 0.5587 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.555e-05/0.1286, allocations: 0 / 0.5587 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.81e-05/0.1286, allocations: 15.8 kB / 0.5587 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.1288, allocations: 23.8 kB / 0.5588 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.1289, allocations: 27.95 kB / 0.5588 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1291, allocations: 107.6 kB / 0.5589 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.1293, allocations: 43.95 kB / 0.5589 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1294, allocations: 39.91 kB / 0.559 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.1295, allocations: 51.77 kB / 0.559 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.1295, allocations: 12 kB / 0.559 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.374e-05/0.1295, allocations: 12 kB / 0.559 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.1295, allocations: 27.92 kB / 0.5591 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.1296, allocations: 47.73 kB / 0.5591 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1298, allocations: 119.6 kB / 0.5592 GB, free: 3.152 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1298, allocations: 0 / 0.5592 GB, free: 3.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1298, allocations: 3.938 kB / 0.5592 GB, free: 3.148 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1299, allocations: 0 / 0.5592 GB, free: 3.148 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.0008069/0.1307, allocations: 423 kB / 0.5596 GB, free: 2.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1307, allocations: 12.03 kB / 0.5596 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.1307, allocations: 8.891 kB / 0.5597 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1309, allocations: 180.2 kB / 0.5598 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1309, allocations: 4.375 kB / 0.5598 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.131, allocations: 8.375 kB / 0.5598 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.1313, allocations: 126.2 kB / 0.56 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1313, allocations: 4.125 kB / 0.56 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1313, allocations: 3.938 kB / 0.56 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1313, allocations: 4 kB / 0.56 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.1317, allocations: 107.8 kB / 0.5601 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.1326, allocations: 483.3 kB / 0.5605 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.1328, allocations: 78.53 kB / 0.5606 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.1331, allocations: 60.94 kB / 0.5607 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.1331, allocations: 3.984 kB / 0.5607 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.1331, allocations: 34.56 kB / 0.5607 GB, free: 1.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1331, allocations: 0 / 0.5607 GB, free: 1.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009196/0.1341, allocations: 271.3 kB / 0.561 GB, free: 1.172 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.1341, allocations: 51.41 kB / 0.561 GB, free: 1.109 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1342, allocations: 125.8 kB / 0.5611 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1342, allocations: 29.7 kB / 0.5612 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.1343, allocations: 104.2 kB / 0.5613 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1344, allocations: 27.78 kB / 0.5613 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.1344, allocations: 17.72 kB / 0.5613 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1345, allocations: 318.8 kB / 0.5616 GB, free: 472 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.1347, allocations: 39.94 kB / 0.5616 GB, free: 432 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.1349, allocations: 62.47 kB / 0.5617 GB, free: 360 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.1352, allocations: 102.5 kB / 0.5618 GB, free: 248 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.1352, allocations: 3.938 kB / 0.5618 GB, free: 244 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004232/0.1356, allocations: 146.3 kB / 0.5619 GB, free: 88 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.1356, allocations: 8 kB / 0.562 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1356, allocations: 3.938 kB / 0.562 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.1358, allocations: 28.91 kB / 0.562 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1359, allocations: 15.98 kB / 0.562 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.1372, allocations: 1.403 MB / 0.5634 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.1373, allocations: 12.33 kB / 0.5634 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1373, allocations: 0 / 0.5634 GB, free: 14.47 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.0001054/0.1374, allocations: 124.2 kB / 0.5635 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.1374, allocations: 15.88 kB / 0.5635 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.1375, allocations: 16.38 kB / 0.5635 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1375, allocations: 4.062 kB / 0.5635 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1375, allocations: 0 / 0.5635 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1375, allocations: 0 / 0.5635 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.1382, allocations: 420.1 kB / 0.5639 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1382, allocations: 0 / 0.5639 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.734e-05/0.1383, allocations: 23.95 kB / 0.564 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.548e-05/0.1384, allocations: 20.84 kB / 0.564 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1384, allocations: 4 kB / 0.564 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.1396, allocations: 1.398 MB / 0.5653 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1396, allocations: 3.938 kB / 0.5654 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.14, allocations: 245.1 kB / 0.5656 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1401, allocations: 85.06 kB / 0.5657 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.1401, allocations: 0 / 0.5657 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.1402, allocations: 19.92 kB / 0.5657 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.1403, allocations: 7.984 kB / 0.5657 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1403, allocations: 128 / 0.5657 GB, free: 11.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.056e-05/0.1403, allocations: 103.3 kB / 0.5658 GB, free: 11.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1403, allocations: 0 / 0.5658 GB, free: 11.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1406, allocations: 27.83 kB / 0.5658 GB, free: 11.72 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.000118/0.1407, allocations: 95.25 kB / 0.5659 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005502/0.1413, allocations: 210.7 kB / 0.5661 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1413, allocations: 0 / 0.5661 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.1416, allocations: 158.6 kB / 0.5663 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1419, allocations: 8 kB / 0.5663 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.1424, allocations: 250.5 kB / 0.5665 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.1427, allocations: 0.6963 MB / 0.5672 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.1428, allocations: 11.44 kB / 0.5672 GB, free: 10.21 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1428, allocations: 0 / 0.5672 GB, free: 10.21 MB / 430.1 MB Notification: Performance of Templates: time 0.003593/0.1464, allocations: 1.611 MB / 0.5688 GB, free: 8.598 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.451676904995111]