Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 120 kB / 18.46 MB, free: 4.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 212.3 kB / 21.42 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 254.8 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2325/0.2325, allocations: 46.91 MB / 357.8 MB, free: 10.36 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 0.492 GB, free: 7.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.14, allocations: 66 MB / 0.5565 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00328/0.1433, allocations: 1.731 MB / 0.5582 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001991/0.1435, allocations: 91.64 kB / 0.5583 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.1435, allocations: 3.938 kB / 0.5583 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.274e-05/0.1436, allocations: 11.88 kB / 0.5583 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.1436, allocations: 19.78 kB / 0.5583 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.1437, allocations: 27.97 kB / 0.5583 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1439, allocations: 115.6 kB / 0.5584 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.1441, allocations: 43.95 kB / 0.5585 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.216e-05/0.1442, allocations: 35.92 kB / 0.5585 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.588e-05/0.1442, allocations: 55.77 kB / 0.5586 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1443, allocations: 8 kB / 0.5586 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.907e-05/0.1443, allocations: 12 kB / 0.5586 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.1443, allocations: 23.92 kB / 0.5586 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.1444, allocations: 55.72 kB / 0.5587 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.1446, allocations: 111.6 kB / 0.5588 GB, free: 3.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1446, allocations: 0 / 0.5588 GB, free: 3.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1446, allocations: 0 / 0.5588 GB, free: 3.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1446, allocations: 7.938 kB / 0.5588 GB, free: 3.07 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.0006991/0.1453, allocations: 419 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1453, allocations: 12.03 kB / 0.5592 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.1454, allocations: 12.89 kB / 0.5592 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.1455, allocations: 180.2 kB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1455, allocations: 8.375 kB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.1456, allocations: 16.38 kB / 0.5594 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.1459, allocations: 114.2 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1459, allocations: 4.125 kB / 0.5595 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.146, allocations: 7.938 kB / 0.5595 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.146, allocations: 7.938 kB / 0.5595 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.1463, allocations: 111.8 kB / 0.5596 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008271/0.1471, allocations: 475.4 kB / 0.5601 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.1474, allocations: 74.53 kB / 0.5602 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.1476, allocations: 60.94 kB / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1477, allocations: 4 kB / 0.5602 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1477, allocations: 34.5 kB / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.1477, allocations: 0 / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008895/0.1486, allocations: 267.4 kB / 0.5605 GB, free: 1.098 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1486, allocations: 51.41 kB / 0.5606 GB, free: 1.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1487, allocations: 125.8 kB / 0.5607 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1488, allocations: 25.7 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.1488, allocations: 116.2 kB / 0.5608 GB, free: 0.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.1489, allocations: 19.8 kB / 0.5608 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.1489, allocations: 17.72 kB / 0.5608 GB, free: 0.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1491, allocations: 318.8 kB / 0.5612 GB, free: 396 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.1492, allocations: 39.95 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.1494, allocations: 58.55 kB / 0.5612 GB, free: 288 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.1497, allocations: 102.4 kB / 0.5613 GB, free: 176 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1497, allocations: 3.938 kB / 0.5613 GB, free: 172 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004308/0.1502, allocations: 142.4 kB / 0.5615 GB, free: 20 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1502, allocations: 4 kB / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1502, allocations: 3.984 kB / 0.5615 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.1504, allocations: 24.88 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.1505, allocations: 24.03 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.1518, allocations: 1.404 MB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.1519, allocations: 20.08 kB / 0.5629 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1519, allocations: 4 kB / 0.5629 GB, free: 14.39 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.000107/0.152, allocations: 120 kB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.152, allocations: 11.89 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.1521, allocations: 12.31 kB / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1521, allocations: 3.984 kB / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1521, allocations: 0 / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1521, allocations: 8 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007449/0.1528, allocations: 420 kB / 0.5635 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1528, allocations: 0 / 0.5635 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.755e-05/0.1529, allocations: 15.98 kB / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-05/0.153, allocations: 28.88 kB / 0.5635 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.153, allocations: 0 / 0.5635 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.1541, allocations: 1.402 MB / 0.5649 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1541, allocations: 0 / 0.5649 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.1546, allocations: 249.2 kB / 0.5651 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.1547, allocations: 89 kB / 0.5652 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1547, allocations: 3.984 kB / 0.5652 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1548, allocations: 11.98 kB / 0.5652 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.1549, allocations: 11.98 kB / 0.5652 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1549, allocations: 0 / 0.5652 GB, free: 11.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.741e-05/0.1549, allocations: 95.66 kB / 0.5653 GB, free: 11.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1549, allocations: 0 / 0.5653 GB, free: 11.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1552, allocations: 35.83 kB / 0.5654 GB, free: 11.64 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.0001191/0.1553, allocations: 99.23 kB / 0.5655 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.1559, allocations: 202.5 kB / 0.5657 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1559, allocations: 4 kB / 0.5657 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.1562, allocations: 162.7 kB / 0.5658 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.1565, allocations: 4 kB / 0.5658 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.157, allocations: 238.6 kB / 0.566 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.1573, allocations: 0.7041 MB / 0.5667 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.1573, allocations: 11.44 kB / 0.5667 GB, free: 10.13 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1573, allocations: 0 / 0.5667 GB, free: 10.13 MB / 430.1 MB Notification: Performance of Templates: time 0.003667/0.161, allocations: 1.601 MB / 0.5683 GB, free: 8.531 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.755657375004375]