Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001818/0.001818, allocations: 112.9 kB / 20.38 MB, free: 2.098 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002116/0.002116, allocations: 212.2 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 230.2 MB / 256.8 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2418/0.2418, allocations: 46.88 MB / 359.9 MB, free: 4.996 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.003679/0.003679, allocations: 87.84 kB / 0.495 GB, free: 8.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3777, allocations: 65.99 MB / 0.5594 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004166/0.3819, allocations: 2.499 MB / 0.5619 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.3835, allocations: 0.8412 MB / 0.5627 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.3836, allocations: 8 kB / 0.5627 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.3838, allocations: 55.5 kB / 0.5627 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.3841, allocations: 103.2 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.3844, allocations: 107.8 kB / 0.5629 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000393/0.3848, allocations: 358.7 kB / 0.5633 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.385, allocations: 72.36 kB / 0.5634 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.3853, allocations: 139.5 kB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.3855, allocations: 163.2 kB / 0.5636 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.3855, allocations: 32 kB / 0.5637 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.868e-05/0.3856, allocations: 32 kB / 0.5637 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.3857, allocations: 71.75 kB / 0.5638 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3859, allocations: 147.2 kB / 0.5639 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.3863, allocations: 381.1 kB / 0.5643 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3863, allocations: 0 / 0.5643 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3863, allocations: 0 / 0.5643 GB, free: 208 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3863, allocations: 4 kB / 0.5643 GB, free: 204 kB / 398.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.001264/0.3876, allocations: 0.6311 MB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3876, allocations: 8.031 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.3878, allocations: 44.7 kB / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.3883, allocations: 274.8 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3883, allocations: 20.94 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.3883, allocations: 20.38 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.3889, allocations: 257.2 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3889, allocations: 3.938 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.3889, allocations: 12 kB / 0.5655 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3889, allocations: 4 kB / 0.5655 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005181/0.3894, allocations: 234.1 kB / 0.5657 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.391, allocations: 0.8678 MB / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.3915, allocations: 283.1 kB / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.3918, allocations: 124.8 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.3918, allocations: 11.98 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.3919, allocations: 34.56 kB / 0.567 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.3919, allocations: 0 / 0.567 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.0048/0.3967, allocations: 1.262 MB / 0.5682 GB, free: 11.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3967, allocations: 55.41 kB / 0.5683 GB, free: 11.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.397, allocations: 237 kB / 0.5685 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.397, allocations: 33.7 kB / 0.5686 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.3972, allocations: 160.8 kB / 0.5687 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.685e-05/0.3973, allocations: 115 kB / 0.5688 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.777e-05/0.3974, allocations: 49.7 kB / 0.5689 GB, free: 11.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3975, allocations: 338.8 kB / 0.5692 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.3977, allocations: 91.95 kB / 0.5693 GB, free: 10.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.398, allocations: 134.6 kB / 0.5694 GB, free: 10.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.3985, allocations: 240.1 kB / 0.5696 GB, free: 10.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.3985, allocations: 0 / 0.5696 GB, free: 10.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001819/0.4003, allocations: 0.5334 MB / 0.5702 GB, free: 9.832 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4003, allocations: 8 kB / 0.5702 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4003, allocations: 3.938 kB / 0.5702 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.402, allocations: 319.1 kB / 0.5705 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.4022, allocations: 23.98 kB / 0.5705 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008079/0.4103, allocations: 6.844 MB / 0.5772 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.4106, allocations: 31.91 kB / 0.5772 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.4106, allocations: 12 kB / 0.5772 GB, free: 2.02 MB / 414.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.0001887/0.4108, allocations: 145.7 kB / 0.5774 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.4108, allocations: 27.81 kB / 0.5774 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.4127, allocations: 0.5401 MB / 0.5779 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4127, allocations: 4 kB / 0.5779 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.4127, allocations: 3.938 kB / 0.5779 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4127, allocations: 0 / 0.5779 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.4132, allocations: 365.4 kB / 0.5783 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4132, allocations: 11.92 kB / 0.5783 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.4133, allocations: 19.98 kB / 0.5783 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.4148, allocations: 311.2 kB / 0.5786 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.4149, allocations: 4 kB / 0.5786 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008024/0.4229, allocations: 6.905 MB / 0.5853 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4229, allocations: 0 / 0.5853 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.4247, allocations: 0.6196 MB / 0.5859 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.4248, allocations: 108.8 kB / 0.5861 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.4249, allocations: 8 kB / 0.5861 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.4251, allocations: 8 kB / 0.5861 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.4252, allocations: 31.95 kB / 0.5861 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.4252, allocations: 12.19 kB / 0.5861 GB, free: 8.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.4254, allocations: 170 kB / 0.5863 GB, free: 8.051 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4254, allocations: 0 / 0.5863 GB, free: 8.051 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005717/0.426, allocations: 127.8 kB / 0.5864 GB, free: 7.926 MB / 430.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.0001493/0.4261, allocations: 95.25 kB / 0.5865 GB, free: 7.824 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.4273, allocations: 0.7447 MB / 0.5872 GB, free: 7.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4273, allocations: 0 / 0.5872 GB, free: 7.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.4286, allocations: 0.7211 MB / 0.5879 GB, free: 6.254 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.4289, allocations: 32.55 kB / 0.5879 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.4301, allocations: 0.6017 MB / 0.5885 GB, free: 5.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.4305, allocations: 0.7795 MB / 0.5893 GB, free: 4.773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.4306, allocations: 11.44 kB / 0.5893 GB, free: 4.762 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4306, allocations: 0 / 0.5893 GB, free: 4.762 MB / 430.1 MB Notification: Performance of Templates: time 0.01166/0.4422, allocations: 8.371 MB / 0.5975 GB, free: 12.39 MB / 446.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches