Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.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.001704/0.001704, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002138/0.002138, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.609/1.609, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2458/0.2458, allocations: 46.9 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 179] 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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.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.002344/0.002344, allocations: 83.86 kB / 0.4967 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3596, allocations: 65.97 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004081/0.3637, allocations: 2.523 MB / 0.5636 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.3655, allocations: 1.11 MB / 0.5647 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3656, allocations: 8 kB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.367, allocations: 0.5057 MB / 0.5652 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.3673, allocations: 111.2 kB / 0.5653 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.3683, allocations: 486.1 kB / 0.5658 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.3687, allocations: 223 kB / 0.566 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004765/0.3691, allocations: 212.9 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.3693, allocations: 103.6 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.3695, allocations: 131.5 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.3696, allocations: 20 kB / 0.5665 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.3699, allocations: 151.9 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.3699, allocations: 55.83 kB / 0.5667 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.37, allocations: 111.4 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005622/0.3706, allocations: 402.5 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3706, allocations: 0 / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3706, allocations: 0 / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.3706, allocations: 4 kB / 0.5671 GB, free: 14.89 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.001393/0.372, allocations: 0.6275 MB / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.372, allocations: 12.03 kB / 0.5678 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00032/0.3723, allocations: 48.77 kB / 0.5678 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3725, allocations: 188 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3725, allocations: 20.94 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.3726, allocations: 28.31 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006496/0.3732, allocations: 287.7 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3733, allocations: 4 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.3733, allocations: 15.98 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3733, allocations: 4 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/0.3739, allocations: 233.5 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.3755, allocations: 0.9938 MB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005696/0.376, allocations: 363.2 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.3764, allocations: 121.7 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.3766, allocations: 174.2 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.3766, allocations: 38.5 kB / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.803e-06/0.3766, allocations: 0 / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001292/0.3779, allocations: 0.4921 MB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.378, allocations: 85.14 kB / 0.5708 GB, free: 10.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.3781, allocations: 141.8 kB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3782, allocations: 25.7 kB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3783, allocations: 148.3 kB / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.3783, allocations: 71.39 kB / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.3784, allocations: 37.7 kB / 0.5712 GB, free: 10.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.3786, allocations: 326.8 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.3788, allocations: 71.95 kB / 0.5715 GB, free: 10 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.3791, allocations: 117.9 kB / 0.5717 GB, free: 9.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.3796, allocations: 209.8 kB / 0.5719 GB, free: 9.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3796, allocations: 4 kB / 0.5719 GB, free: 9.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006698/0.3803, allocations: 278.6 kB / 0.5721 GB, free: 9.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3803, allocations: 4.297 kB / 0.5721 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3803, allocations: 11.94 kB / 0.5721 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.3806, allocations: 45.64 kB / 0.5722 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.3808, allocations: 43.95 kB / 0.5722 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/0.3837, allocations: 2.845 MB / 0.575 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.3838, allocations: 31.86 kB / 0.575 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.3839, allocations: 4 kB / 0.575 GB, free: 6.082 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001728/0.384, allocations: 141.7 kB / 0.5752 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.3841, allocations: 16.02 kB / 0.5752 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007851/0.3849, allocations: 270.7 kB / 0.5754 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3849, allocations: 0 / 0.5754 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3849, allocations: 8 kB / 0.5755 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3849, allocations: 144 / 0.5755 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.3862, allocations: 0.6422 MB / 0.5761 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.3862, allocations: 12 kB / 0.5761 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.3864, allocations: 31.97 kB / 0.5761 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.3865, allocations: 49.62 kB / 0.5762 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.3865, allocations: 8 kB / 0.5762 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/0.3894, allocations: 2.84 MB / 0.579 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3894, allocations: 3.938 kB / 0.579 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3904, allocations: 0.5203 MB / 0.5795 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.3905, allocations: 89.03 kB / 0.5796 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.3905, allocations: 8 kB / 0.5796 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3907, allocations: 24.03 kB / 0.5796 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.3908, allocations: 19.92 kB / 0.5796 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.3908, allocations: 4 kB / 0.5796 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.3909, allocations: 107.2 kB / 0.5797 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3909, allocations: 0 / 0.5797 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005389/0.3915, allocations: 75.78 kB / 0.5798 GB, free: 0.7969 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0002798/0.3918, allocations: 127.1 kB / 0.5799 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008989/0.3927, allocations: 413.5 kB / 0.5803 GB, free: 236 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3927, allocations: 3.938 kB / 0.5803 GB, free: 232 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.3932, allocations: 321.2 kB / 0.5806 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.3936, allocations: 12 kB / 0.5806 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009088/0.3945, allocations: 485.8 kB / 0.5811 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.3949, allocations: 0.7321 MB / 0.5818 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.916e-05/0.395, allocations: 17.42 kB / 0.5818 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.395, allocations: 19.44 kB / 0.5818 GB, free: 14.57 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.395, allocations: 0 / 0.5818 GB, free: 14.57 MB / 430.1 MB Notification: Performance of Templates: time 0.006857/0.4019, allocations: 2.489 MB / 0.5843 GB, free: 12.1 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.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.390695049893111]