Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.001776/0.001776, allocations: 80.44 kB / 20.52 MB, free: 1.281 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.002176/0.002176, allocations: 163.7 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2228/0.2228, allocations: 32.37 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 71.89 kB / 407.7 MB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1556, allocations: 61.04 MB / 468.8 MB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004994/0.1606, allocations: 2.276 MB / 471.1 MB, free: 6.023 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1624, allocations: 0.7679 MB / 471.8 MB, free: 5.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.1627, allocations: 7.938 kB / 471.8 MB, free: 5.238 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.163, allocations: 47.52 kB / 471.9 MB, free: 5.191 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.1634, allocations: 99.3 kB / 472 MB, free: 5.094 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.1637, allocations: 103.8 kB / 472.1 MB, free: 4.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.1642, allocations: 342.8 kB / 472.4 MB, free: 4.656 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.1644, allocations: 60.89 kB / 472.5 MB, free: 4.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.1646, allocations: 147.5 kB / 472.6 MB, free: 4.453 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1648, allocations: 139.3 kB / 472.8 MB, free: 4.316 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.1649, allocations: 28 kB / 472.8 MB, free: 4.289 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.855e-05/0.165, allocations: 32 kB / 472.8 MB, free: 4.258 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.658e-05/0.165, allocations: 63.83 kB / 472.9 MB, free: 4.195 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.1652, allocations: 123.4 kB / 473 MB, free: 4.074 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.1656, allocations: 366.4 kB / 473.4 MB, free: 3.715 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1656, allocations: 0 / 473.4 MB, free: 3.715 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1656, allocations: 0 / 473.4 MB, free: 3.715 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.1656, allocations: 0 / 473.4 MB, free: 3.715 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001141/0.1668, allocations: 0.5441 MB / 473.9 MB, free: 3.141 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1668, allocations: 12.03 kB / 473.9 MB, free: 3.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.132e-05/0.1669, allocations: 36.75 kB / 473.9 MB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.1673, allocations: 202 kB / 474.1 MB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1673, allocations: 20.88 kB / 474.2 MB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.1674, allocations: 24.38 kB / 474.2 MB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.1679, allocations: 248.4 kB / 474.4 MB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1679, allocations: 0 / 474.4 MB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.1679, allocations: 8 kB / 474.4 MB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.168, allocations: 8 kB / 474.4 MB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.1685, allocations: 225.9 kB / 474.7 MB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.1699, allocations: 0.7387 MB / 475.4 MB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.1705, allocations: 278.4 kB / 475.7 MB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.1708, allocations: 120.8 kB / 475.8 MB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.1708, allocations: 4 kB / 475.8 MB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.1709, allocations: 42.55 kB / 475.8 MB, free: 1.109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.1709, allocations: 4 kB / 475.8 MB, free: 1.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.004508/0.1754, allocations: 0.9568 MB / 476.8 MB, free: 132 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.1754, allocations: 63.33 kB / 476.9 MB, free: 56 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3225/0.4979, allocations: 210.4 kB / 477.1 MB, free: 50.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.199e-05/0.498, allocations: 33.48 kB / 477.1 MB, free: 50.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.4981, allocations: 157.4 kB / 477.3 MB, free: 50.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.237e-05/0.4982, allocations: 113.4 kB / 477.4 MB, free: 50.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.4983, allocations: 48.86 kB / 477.4 MB, free: 50.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4984, allocations: 338 kB / 477.7 MB, free: 50.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.4987, allocations: 92.05 kB / 477.8 MB, free: 50.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.4989, allocations: 130.1 kB / 478 MB, free: 50.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.4994, allocations: 227.4 kB / 478.2 MB, free: 50.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.4994, allocations: 0 / 478.2 MB, free: 50.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001619/0.501, allocations: 0.533 MB / 478.7 MB, free: 49.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.501, allocations: 7.125 kB / 478.7 MB, free: 49.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.501, allocations: 2.688 kB / 478.7 MB, free: 49.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.5025, allocations: 311.7 kB / 479 MB, free: 49.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.5027, allocations: 30.12 kB / 479.1 MB, free: 49.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/0.5084, allocations: 6.271 MB / 485.3 MB, free: 44.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.5086, allocations: 31.84 kB / 485.4 MB, free: 44.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.5086, allocations: 10.28 kB / 485.4 MB, free: 44.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.5088, allocations: 137.6 kB / 485.5 MB, free: 44.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.5088, allocations: 21.7 kB / 485.5 MB, free: 44.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.5105, allocations: 0.5493 MB / 486.1 MB, free: 44.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.5105, allocations: 4.016 kB / 486.1 MB, free: 44.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.5105, allocations: 0 / 486.1 MB, free: 44.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5105, allocations: 0 / 486.1 MB, free: 44.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.5108, allocations: 255.7 kB / 486.3 MB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5108, allocations: 0 / 486.3 MB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.5109, allocations: 22.16 kB / 486.3 MB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/0.5122, allocations: 318.4 kB / 486.7 MB, free: 44.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.5122, allocations: 8.797 kB / 486.7 MB, free: 44.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00552/0.5177, allocations: 6.331 MB / 493 MB, free: 38.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5177, allocations: 7.875 kB / 493 MB, free: 38.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.5193, allocations: 0.6088 MB / 493.6 MB, free: 38.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.5193, allocations: 33.25 kB / 493.6 MB, free: 38.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.5193, allocations: 4 kB / 493.7 MB, free: 38.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.5195, allocations: 13.73 kB / 493.7 MB, free: 38.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.5196, allocations: 33.91 kB / 493.7 MB, free: 38.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.5197, allocations: 10.38 kB / 493.7 MB, free: 38.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.5198, allocations: 156.2 kB / 493.9 MB, free: 37.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5198, allocations: 4 kB / 493.9 MB, free: 37.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005377/0.5203, allocations: 120.1 kB / 494 MB, free: 37.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001065/0.5204, allocations: 103.6 kB / 494.1 MB, free: 37.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009497/0.5214, allocations: 0.737 MB / 494.8 MB, free: 37.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5214, allocations: 0 / 494.8 MB, free: 37.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.5224, allocations: 0.7288 MB / 495.6 MB, free: 36.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.5227, allocations: 36.11 kB / 495.6 MB, free: 36.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.5236, allocations: 0.5373 MB / 496.1 MB, free: 36.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.5237, allocations: 162 kB / 496.3 MB, free: 36.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.5238, allocations: 16.36 kB / 496.3 MB, free: 36.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.5238, allocations: 12 kB / 496.3 MB, free: 36.31 MB / 446.1 MB Notification: Performance of SimCode: time 6.62e-07/0.5238, allocations: 3.312 kB / 496.3 MB, free: 36.31 MB / 446.1 MB Notification: Performance of Templates: time 0.01255/0.5364, allocations: 8.384 MB / 0.4929 GB, free: 35.34 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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: 6.026371959014796]