Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 69.33 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 162.2 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2599/0.2599, allocations: 32.8 MB / 294.1 MB, free: 15.98 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 74.22 kB / 440.6 MB, free: 9.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3574, allocations: 65.45 MB / 0.4941 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003341/0.3608, allocations: 2.519 MB / 0.4966 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3619, allocations: 0.7447 MB / 0.4973 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.362, allocations: 10.31 kB / 0.4973 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.3623, allocations: 69.89 kB / 0.4974 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.3625, allocations: 110.1 kB / 0.4975 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.3627, allocations: 114.4 kB / 0.4976 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.363, allocations: 425.6 kB / 0.498 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.3633, allocations: 92.73 kB / 0.4981 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.3634, allocations: 147.6 kB / 0.4983 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.3636, allocations: 154.9 kB / 0.4984 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.3636, allocations: 33.75 kB / 0.4984 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.46e-05/0.3637, allocations: 31.53 kB / 0.4985 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.3637, allocations: 82.97 kB / 0.4985 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.3639, allocations: 145.4 kB / 0.4987 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.3643, allocations: 438 kB / 0.4991 GB, free: 28.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3643, allocations: 4 kB / 0.4991 GB, free: 28.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3643, allocations: 0 / 0.4991 GB, free: 28.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.3643, allocations: 3.938 kB / 0.4991 GB, free: 28.33 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009571/0.3652, allocations: 0.6051 MB / 0.4997 GB, free: 27.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3653, allocations: 13.33 kB / 0.4997 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.3653, allocations: 43.42 kB / 0.4998 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.3657, allocations: 225.7 kB / 0.5 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.3657, allocations: 25.53 kB / 0.5 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.3657, allocations: 34.56 kB / 0.5 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.3663, allocations: 361.3 kB / 0.5004 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3663, allocations: 0 / 0.5004 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.3664, allocations: 15.34 kB / 0.5004 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3664, allocations: 9.844 kB / 0.5004 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.3669, allocations: 267.7 kB / 0.5007 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.3686, allocations: 1.162 MB / 0.5018 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.369, allocations: 191.3 kB / 0.502 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.3692, allocations: 80.47 kB / 0.502 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.3692, allocations: 3.25 kB / 0.502 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3693, allocations: 41.62 kB / 0.5021 GB, free: 26.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.3693, allocations: 0 / 0.5021 GB, free: 26.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007249/0.37, allocations: 249.7 kB / 0.5023 GB, free: 26.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.37, allocations: 135.5 kB / 0.5025 GB, free: 25.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.3703, allocations: 297.6 kB / 0.5027 GB, free: 25.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3703, allocations: 25.7 kB / 0.5028 GB, free: 25.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3704, allocations: 255.3 kB / 0.503 GB, free: 25.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.3704, allocations: 57.02 kB / 0.5031 GB, free: 25.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.3705, allocations: 63.91 kB / 0.5031 GB, free: 25.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.3706, allocations: 335.5 kB / 0.5034 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.3708, allocations: 76.22 kB / 0.5035 GB, free: 25.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.371, allocations: 164.4 kB / 0.5037 GB, free: 25.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.3715, allocations: 252.5 kB / 0.5039 GB, free: 24.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3715, allocations: 3.031 kB / 0.5039 GB, free: 24.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005585/0.372, allocations: 314.2 kB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.372, allocations: 5.969 kB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.372, allocations: 3.188 kB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3721, allocations: 5.875 kB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.3724, allocations: 97.03 kB / 0.5043 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3725, allocations: 5.906 kB / 0.5043 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.3727, allocations: 38.02 kB / 0.5044 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.3727, allocations: 13.23 kB / 0.5044 GB, free: 24.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0001054/0.3728, allocations: 153 kB / 0.5045 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/0.3729, allocations: 27.62 kB / 0.5046 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.373, allocations: 34.28 kB / 0.5046 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.373, allocations: 3.094 kB / 0.5046 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.373, allocations: 7.938 kB / 0.5046 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.373, allocations: 3.062 kB / 0.5046 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.3735, allocations: 0.4962 MB / 0.5051 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3735, allocations: 0 / 0.5051 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.3738, allocations: 60.84 kB / 0.5051 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3738, allocations: 0 / 0.5051 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3738, allocations: 15.28 kB / 0.5052 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3738, allocations: 3.094 kB / 0.5052 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3738, allocations: 6.844 kB / 0.5052 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.3743, allocations: 388.4 kB / 0.5055 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.3743, allocations: 27.77 kB / 0.5056 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.3743, allocations: 10.11 kB / 0.5056 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.3745, allocations: 18.16 kB / 0.5056 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.3746, allocations: 24.45 kB / 0.5056 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3746, allocations: 5.531 kB / 0.5056 GB, free: 23.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.3748, allocations: 200.3 kB / 0.5058 GB, free: 23.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3748, allocations: 0 / 0.5058 GB, free: 23.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000375/0.3751, allocations: 78.44 kB / 0.5059 GB, free: 23.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 15 * 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 7.719e-05/0.3752, allocations: 94.31 kB / 0.506 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.3757, allocations: 188.6 kB / 0.5062 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3757, allocations: 0 / 0.5062 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.3759, allocations: 80.34 kB / 0.5062 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.3763, allocations: 18.62 kB / 0.5062 GB, free: 23.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007478/0.3771, allocations: 0.5751 MB / 0.5068 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.3772, allocations: 174.5 kB / 0.507 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.251e-05/0.3773, allocations: 26.08 kB / 0.507 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.3773, allocations: 25.5 kB / 0.507 GB, free: 22.89 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3773, allocations: 0 / 0.507 GB, free: 22.89 MB / 446.1 MB Notification: Performance of Templates: time 0.004481/0.3818, allocations: 1.489 MB / 0.5085 GB, free: 22.66 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.247147411922924]