Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.001418/0.001418, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001666/0.001666, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.543/1.543, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2481/0.2481, allocations: 46.94 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] 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.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 91.84 kB / 0.4966 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3848, allocations: 66.08 MB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.006653/0.3914, allocations: 2.789 MB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.3937, allocations: 0.7543 MB / 0.5646 GB, free: 404 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004325/0.3941, allocations: 15.94 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.3945, allocations: 59.38 kB / 0.5647 GB, free: 328 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.3951, allocations: 103 kB / 0.5648 GB, free: 224 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.3956, allocations: 111.8 kB / 0.5649 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009606/0.3966, allocations: 470.7 kB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.3969, allocations: 112.4 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.3975, allocations: 191.3 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.398, allocations: 183.1 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.3981, allocations: 39.98 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.3983, allocations: 47.94 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3985, allocations: 83.73 kB / 0.566 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.3988, allocations: 171.2 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008402/0.3996, allocations: 481.7 kB / 0.5666 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3996, allocations: 0 / 0.5666 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3996, allocations: 0 / 0.5666 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.3996, allocations: 0 / 0.5666 GB, free: 14.36 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002159/0.4018, allocations: 0.6379 MB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4018, allocations: 8.031 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.4023, allocations: 60.64 kB / 0.5673 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007031/0.403, allocations: 238 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.403, allocations: 29.38 kB / 0.5676 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.824e-05/0.4031, allocations: 40.38 kB / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009751/0.4041, allocations: 346.7 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.4041, allocations: 0 / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/0.4042, allocations: 16 kB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.4042, allocations: 8 kB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00094/0.4051, allocations: 303.8 kB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.4083, allocations: 1.14 MB / 0.5693 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007702/0.4091, allocations: 261.3 kB / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/0.4095, allocations: 137.4 kB / 0.5697 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.4096, allocations: 8.219 kB / 0.5697 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.4096, allocations: 34.84 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.785e-06/0.4096, allocations: 0 / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.001247/0.4109, allocations: 371.5 kB / 0.5701 GB, free: 10.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.4109, allocations: 59.34 kB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.4113, allocations: 240.8 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.4114, allocations: 29.7 kB / 0.5704 GB, free: 10.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.4116, allocations: 212.5 kB / 0.5706 GB, free: 10.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.4117, allocations: 126.9 kB / 0.5708 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.4119, allocations: 74.12 kB / 0.5708 GB, free: 9.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.4121, allocations: 334.8 kB / 0.5711 GB, free: 9.484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.4125, allocations: 104.8 kB / 0.5712 GB, free: 9.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.4129, allocations: 175.5 kB / 0.5714 GB, free: 9.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.4137, allocations: 284.7 kB / 0.5717 GB, free: 8.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4137, allocations: 4 kB / 0.5717 GB, free: 8.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001066/0.4148, allocations: 374.3 kB / 0.572 GB, free: 8.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.4148, allocations: 8 kB / 0.5721 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.4148, allocations: 3.938 kB / 0.5721 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.4148, allocations: 4 kB / 0.5721 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.4155, allocations: 104.1 kB / 0.5722 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.4156, allocations: 4 kB / 0.5722 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.416, allocations: 43.72 kB / 0.5722 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/0.416, allocations: 15.98 kB / 0.5722 GB, free: 8.332 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002454/0.4163, allocations: 153.7 kB / 0.5724 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4164, allocations: 27.8 kB / 0.5724 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009796/0.4173, allocations: 317.2 kB / 0.5727 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.4173, allocations: 4 kB / 0.5727 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4173, allocations: 4 kB / 0.5727 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4174, allocations: 0 / 0.5727 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006165/0.418, allocations: 288.9 kB / 0.573 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.418, allocations: 0 / 0.573 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.4186, allocations: 83.88 kB / 0.5731 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.4186, allocations: 7.938 kB / 0.5731 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.4186, allocations: 4 kB / 0.5731 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.4186, allocations: 4 kB / 0.5731 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4186, allocations: 0 / 0.5731 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.4199, allocations: 0.5186 MB / 0.5736 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.4201, allocations: 47.73 kB / 0.5736 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.428e-05/0.4202, allocations: 7.953 kB / 0.5736 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.4205, allocations: 16 kB / 0.5737 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.4206, allocations: 19.95 kB / 0.5737 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.4206, allocations: 8 kB / 0.5737 GB, free: 6.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.4209, allocations: 164.5 kB / 0.5738 GB, free: 6.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4209, allocations: 0 / 0.5738 GB, free: 6.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006376/0.4215, allocations: 99.84 kB / 0.5739 GB, free: 6.523 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001965/0.4217, allocations: 115.1 kB / 0.574 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008903/0.4226, allocations: 259.6 kB / 0.5743 GB, free: 6.148 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4226, allocations: 0 / 0.5743 GB, free: 6.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.423, allocations: 119.8 kB / 0.5744 GB, free: 6.031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.4235, allocations: 39.47 kB / 0.5744 GB, free: 5.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.4259, allocations: 0.757 MB / 0.5752 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.4261, allocations: 177.5 kB / 0.5753 GB, free: 5.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.4264, allocations: 34.95 kB / 0.5754 GB, free: 4.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.4265, allocations: 31.42 kB / 0.5754 GB, free: 4.945 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4265, allocations: 0 / 0.5754 GB, free: 4.945 MB / 414.1 MB Notification: Performance of Templates: time 0.01051/0.4371, allocations: 2.831 MB / 0.5782 GB, free: 2.145 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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: 5.433357950299978]