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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.00164/0.00164, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.508/1.508, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3617/0.3617, allocations: 34.25 MB / 295.2 MB, free: 0.7031 MB / 266.7 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.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 1.683e-06/1.683e-06, allocations: 0 / 377.2 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.887e-05, allocations: 6.312 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004042/0.004071, allocations: 2.36 MB / 379.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.005748, allocations: 0.7944 MB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.005886, allocations: 4 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.006114, allocations: 55.52 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.006442, allocations: 119 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.006761, allocations: 95.84 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004639/0.007225, allocations: 362.6 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.007424, allocations: 64.75 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.007805, allocations: 219.4 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.008003, allocations: 115.7 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.008058, allocations: 28 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.008143, allocations: 36 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-05/0.008215, allocations: 67.73 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.008361, allocations: 103.7 kB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.008866, allocations: 386.7 kB / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.008869, allocations: 0 / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00887, allocations: 0 / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.008877, allocations: 4 kB / 382 MB, free: 14.14 MB / 362.7 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.001503/0.01038, allocations: 0.5596 MB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.01042, allocations: 11.97 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.01062, allocations: 60.7 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.01101, allocations: 204.7 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.01104, allocations: 20.88 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.01108, allocations: 24.38 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.01164, allocations: 244.6 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01166, allocations: 8.125 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.01169, allocations: 16.31 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.0117, allocations: 11.94 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.01226, allocations: 229.9 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.01381, allocations: 0.7465 MB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.01442, allocations: 282.7 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.01473, allocations: 120.8 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.01477, allocations: 15.98 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.01482, allocations: 34.5 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.252e-06/0.01482, allocations: 0 / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.004934/0.01975, allocations: 0.9762 MB / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.01981, allocations: 63.34 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.02012, allocations: 230.4 kB / 385.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.02015, allocations: 33.7 kB / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.02032, allocations: 168.7 kB / 386 MB, free: 9.941 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.02043, allocations: 103.1 kB / 386.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.02054, allocations: 57.66 kB / 386.2 MB, free: 9.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.02076, allocations: 334.8 kB / 386.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.02101, allocations: 87.95 kB / 386.6 MB, free: 9.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.0213, allocations: 131.4 kB / 386.7 MB, free: 9.219 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.02182, allocations: 231.2 kB / 386.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02182, allocations: 0 / 386.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002027/0.02385, allocations: 0.5529 MB / 387.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.02387, allocations: 7.938 kB / 387.5 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.02388, allocations: 3.938 kB / 387.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/0.02676, allocations: 486.9 kB / 388 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.02693, allocations: 27.97 kB / 388 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009276/0.0362, allocations: 6.311 MB / 394.3 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.0365, allocations: 35.77 kB / 394.3 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.03653, allocations: 4 kB / 394.3 MB, free: 1.125 MB / 362.7 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.00021/0.03674, allocations: 141.8 kB / 394.5 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/0.03683, allocations: 35.81 kB / 394.5 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.03897, allocations: 0.5462 MB / 395.1 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.03898, allocations: 4 kB / 395.1 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.03898, allocations: 0 / 395.1 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.03899, allocations: 3.984 kB / 395.1 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.03944, allocations: 253.1 kB / 395.3 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.03945, allocations: 0 / 395.3 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.03958, allocations: 19.97 kB / 395.3 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/0.0425, allocations: 495.1 kB / 395.8 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.04253, allocations: 7.938 kB / 395.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009267/0.0518, allocations: 6.366 MB / 402.2 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.0518, allocations: 0 / 402.2 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.05388, allocations: 0.6284 MB / 402.8 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.05394, allocations: 31.78 kB / 402.9 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.05398, allocations: 11.89 kB / 402.9 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.05419, allocations: 8 kB / 402.9 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.05434, allocations: 39.92 kB / 402.9 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.05436, allocations: 4 kB / 402.9 MB, free: 8.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.05458, allocations: 173.2 kB / 403.1 MB, free: 7.879 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05458, allocations: 0 / 403.1 MB, free: 7.879 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006213/0.0552, allocations: 123.8 kB / 403.2 MB, free: 7.758 MB / 378.7 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.000186/0.05538, allocations: 103.2 kB / 403.3 MB, free: 7.645 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.05701, allocations: 0.7482 MB / 404.1 MB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.05702, allocations: 0 / 404.1 MB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.05846, allocations: 0.7168 MB / 404.8 MB, free: 6.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.05884, allocations: 28.62 kB / 404.8 MB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.06013, allocations: 0.5589 MB / 405.4 MB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.06034, allocations: 163.8 kB / 405.5 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.06041, allocations: 9.953 kB / 405.5 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.06046, allocations: 16.5 kB / 405.5 MB, free: 5.25 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.06046, allocations: 0 / 405.5 MB, free: 5.25 MB / 378.7 MB Notification: Performance of Templates: time 0.0169/0.07736, allocations: 8.412 MB / 414 MB, free: 12.88 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 5.450126246083528]