Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001295/0.001295, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001517/0.001517, allocations: 220.5 kB / 25.13 MB, free: 3.609 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.454/1.454, allocations: 230.4 MB / 258.7 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2267/0.2267, allocations: 46.94 MB / 362.1 MB, free: 4.297 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 79.86 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.342, allocations: 66.08 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004116/0.3461, allocations: 2.509 MB / 0.5648 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3476, allocations: 0.8412 MB / 0.5656 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.3477, allocations: 4 kB / 0.5656 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.3479, allocations: 67.44 kB / 0.5657 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.3482, allocations: 106 kB / 0.5658 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.3485, allocations: 99.86 kB / 0.5659 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.3489, allocations: 358.7 kB / 0.5662 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.3491, allocations: 72.91 kB / 0.5663 GB, free: 208 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.3493, allocations: 147.5 kB / 0.5664 GB, free: 60 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.3495, allocations: 159.4 kB / 0.5666 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.3496, allocations: 31.94 kB / 0.5666 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.508e-05/0.3497, allocations: 32 kB / 0.5666 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.3497, allocations: 67.77 kB / 0.5667 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.3499, allocations: 159.1 kB / 0.5668 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.3503, allocations: 378.1 kB / 0.5672 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3503, allocations: 0 / 0.5672 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3503, allocations: 0 / 0.5672 GB, free: 15.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3503, allocations: 0 / 0.5672 GB, free: 15.25 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001144/0.3515, allocations: 0.5674 MB / 0.5678 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3515, allocations: 8.031 kB / 0.5678 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.3517, allocations: 44.69 kB / 0.5678 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.3521, allocations: 213 kB / 0.568 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.3521, allocations: 16.88 kB / 0.568 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.3521, allocations: 24.38 kB / 0.568 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.3527, allocations: 252.4 kB / 0.5683 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3527, allocations: 7.875 kB / 0.5683 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.3527, allocations: 11.94 kB / 0.5683 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3527, allocations: 8 kB / 0.5683 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.3532, allocations: 229.9 kB / 0.5685 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.3546, allocations: 0.8353 MB / 0.5694 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.3551, allocations: 274.7 kB / 0.5696 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.3554, allocations: 128.8 kB / 0.5697 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.3554, allocations: 8 kB / 0.5697 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3555, allocations: 38.48 kB / 0.5698 GB, free: 12.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.3555, allocations: 0 / 0.5698 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004448/0.3599, allocations: 0.9606 MB / 0.5707 GB, free: 11.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.36, allocations: 55.34 kB / 0.5708 GB, free: 11.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.3602, allocations: 233.1 kB / 0.571 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.3603, allocations: 33.69 kB / 0.571 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3604, allocations: 165.3 kB / 0.5712 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-05/0.3605, allocations: 107.1 kB / 0.5713 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/0.3606, allocations: 49.69 kB / 0.5713 GB, free: 10.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3607, allocations: 342.8 kB / 0.5717 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.3609, allocations: 91.95 kB / 0.5717 GB, free: 10.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.3612, allocations: 118.8 kB / 0.5719 GB, free: 10.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.3616, allocations: 227.3 kB / 0.5721 GB, free: 10.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3616, allocations: 4 kB / 0.5721 GB, free: 10.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001748/0.3634, allocations: 0.5411 MB / 0.5726 GB, free: 9.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3634, allocations: 19.92 kB / 0.5726 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3634, allocations: 0 / 0.5726 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.365, allocations: 319.1 kB / 0.5729 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.3652, allocations: 27.98 kB / 0.573 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007577/0.3728, allocations: 6.437 MB / 0.5792 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.373, allocations: 27.83 kB / 0.5793 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.373, allocations: 12.06 kB / 0.5793 GB, free: 2.164 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.0001691/0.3732, allocations: 141.7 kB / 0.5794 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.3732, allocations: 31.8 kB / 0.5795 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.375, allocations: 0.5501 MB / 0.58 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.375, allocations: 4 kB / 0.58 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.375, allocations: 4.125 kB / 0.58 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.375, allocations: 3.984 kB / 0.58 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.3755, allocations: 328.4 kB / 0.5803 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3755, allocations: 4 kB / 0.5803 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.3756, allocations: 23.98 kB / 0.5803 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.3772, allocations: 311.1 kB / 0.5806 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.3772, allocations: 11.94 kB / 0.5806 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007739/0.3849, allocations: 6.484 MB / 0.587 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3849, allocations: 0 / 0.587 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.3867, allocations: 0.6206 MB / 0.5876 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.3868, allocations: 35.67 kB / 0.5876 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.3868, allocations: 4 kB / 0.5876 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.387, allocations: 8 kB / 0.5876 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.3872, allocations: 40.17 kB / 0.5877 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3872, allocations: 8 kB / 0.5877 GB, free: 8.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.3874, allocations: 169.2 kB / 0.5878 GB, free: 8.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3874, allocations: 0 / 0.5878 GB, free: 8.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005168/0.3879, allocations: 123.9 kB / 0.588 GB, free: 8.711 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.000141/0.388, allocations: 107.1 kB / 0.5881 GB, free: 8.598 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.3892, allocations: 0.7445 MB / 0.5888 GB, free: 7.801 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3892, allocations: 3.938 kB / 0.5888 GB, free: 7.797 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.3905, allocations: 0.7211 MB / 0.5895 GB, free: 7.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.3909, allocations: 26.62 kB / 0.5895 GB, free: 7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3921, allocations: 0.5684 MB / 0.5901 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.3925, allocations: 0.7717 MB / 0.5908 GB, free: 5.602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.145e-05/0.3926, allocations: 17.95 kB / 0.5908 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.3927, allocations: 11.44 kB / 0.5909 GB, free: 5.574 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3927, allocations: 0 / 0.5909 GB, free: 5.574 MB / 430.1 MB Notification: Performance of Templates: time 0.01676/0.4094, allocations: 8.512 MB / 0.5992 GB, free: 13.09 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.596359723014757]