Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001359/0.001359, 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.001381/0.001381, allocations: 221.1 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.457/1.457, allocations: 230.4 MB / 258.7 MB, free: 8.059 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.2161/0.2161, allocations: 46.93 MB / 362 MB, free: 4.254 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [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.002337/0.002337, allocations: 83.84 kB / 0.4978 GB, free: 7.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3541, allocations: 66.09 MB / 0.5623 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003299/0.3574, allocations: 1.733 MB / 0.564 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001814/0.3576, allocations: 87.64 kB / 0.5641 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.3576, allocations: 8 kB / 0.5641 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.967e-05/0.3577, allocations: 7.875 kB / 0.5641 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.3577, allocations: 23.78 kB / 0.5641 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.3579, allocations: 23.97 kB / 0.5641 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.358, allocations: 111.6 kB / 0.5643 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.3582, allocations: 43.94 kB / 0.5643 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.3583, allocations: 43.86 kB / 0.5643 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.17e-05/0.3584, allocations: 51.77 kB / 0.5644 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.3584, allocations: 12 kB / 0.5644 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.951e-05/0.3584, allocations: 16 kB / 0.5644 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.3584, allocations: 23.92 kB / 0.5644 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.3585, allocations: 43.8 kB / 0.5645 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3587, allocations: 126 kB / 0.5646 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3587, allocations: 0 / 0.5646 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3587, allocations: 0 / 0.5646 GB, free: 1.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3587, allocations: 0 / 0.5646 GB, free: 1.945 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006684/0.3594, allocations: 353.8 kB / 0.5649 GB, free: 1.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3594, allocations: 8.031 kB / 0.5649 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.3595, allocations: 8.891 kB / 0.5649 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.3596, allocations: 118.4 kB / 0.5651 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3596, allocations: 12.31 kB / 0.5651 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3596, allocations: 8.375 kB / 0.5651 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.36, allocations: 122.1 kB / 0.5652 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.36, allocations: 8.125 kB / 0.5652 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.36, allocations: 11.94 kB / 0.5652 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.36, allocations: 0 / 0.5652 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.3603, allocations: 111.8 kB / 0.5653 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.3612, allocations: 438.5 kB / 0.5657 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.3614, allocations: 74.53 kB / 0.5658 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.3616, allocations: 64.88 kB / 0.5659 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.3616, allocations: 0 / 0.5659 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.3617, allocations: 42.55 kB / 0.5659 GB, free: 468 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.3617, allocations: 0 / 0.5659 GB, free: 468 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007946/0.3625, allocations: 194.4 kB / 0.5661 GB, free: 264 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.3625, allocations: 51.41 kB / 0.5662 GB, free: 200 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3626, allocations: 125.8 kB / 0.5663 GB, free: 64 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3626, allocations: 25.7 kB / 0.5663 GB, free: 32 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3628, allocations: 108.2 kB / 0.5664 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.3628, allocations: 27.78 kB / 0.5664 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.3628, allocations: 21.7 kB / 0.5664 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.363, allocations: 318.8 kB / 0.5667 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.3631, allocations: 39.95 kB / 0.5668 GB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.3633, allocations: 54.53 kB / 0.5668 GB, free: 15.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.3636, allocations: 98.45 kB / 0.5669 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.3636, allocations: 3.938 kB / 0.5669 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003971/0.364, allocations: 142.4 kB / 0.5671 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.364, allocations: 18.39 kB / 0.5671 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.364, allocations: 0 / 0.5671 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.3642, allocations: 16.86 kB / 0.5671 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.3643, allocations: 23.97 kB / 0.5671 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.3655, allocations: 1.299 MB / 0.5684 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.377e-05/0.3656, allocations: 12.02 kB / 0.5684 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3656, allocations: 4 kB / 0.5684 GB, free: 13.69 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.3658, allocations: 121.8 kB / 0.5685 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.3658, allocations: 11.89 kB / 0.5685 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.3658, allocations: 16.36 kB / 0.5686 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3658, allocations: 3.938 kB / 0.5686 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3658, allocations: 0 / 0.5686 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3658, allocations: 0 / 0.5686 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006789/0.3665, allocations: 403.2 kB / 0.5689 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3665, allocations: 0 / 0.5689 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.713e-05/0.3666, allocations: 15.98 kB / 0.569 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.229e-05/0.3667, allocations: 28.78 kB / 0.569 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3667, allocations: 0 / 0.569 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.3677, allocations: 1.299 MB / 0.5703 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3677, allocations: 0 / 0.5703 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.3682, allocations: 245.1 kB / 0.5705 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.3682, allocations: 3.953 kB / 0.5705 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.3682, allocations: 4 kB / 0.5705 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3683, allocations: 15.97 kB / 0.5705 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.3684, allocations: 11.98 kB / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.3684, allocations: 0 / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.446e-05/0.3684, allocations: 99.27 kB / 0.5706 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3684, allocations: 0 / 0.5706 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.3687, allocations: 31.83 kB / 0.5706 GB, free: 11.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000113/0.3688, allocations: 98.62 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005183/0.3693, allocations: 202.5 kB / 0.5709 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3693, allocations: 4 kB / 0.5709 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.3696, allocations: 158.6 kB / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.3699, allocations: 8.375 kB / 0.5711 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.3704, allocations: 228.8 kB / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3707, allocations: 0.6924 MB / 0.572 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.3708, allocations: 11.75 kB / 0.572 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.3708, allocations: 7.438 kB / 0.572 GB, free: 9.715 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3708, allocations: 0 / 0.572 GB, free: 9.715 MB / 414.1 MB Notification: Performance of Templates: time 0.003974/0.3748, allocations: 1.156 MB / 0.5731 GB, free: 8.562 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.032119980081916]