Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00159/0.00159, allocations: 71.75 kB / 21.24 MB, free: 0.5391 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.001929/0.001929, allocations: 159.4 kB / 24.49 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.5/1.5, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.243/0.243, allocations: 34.27 MB / 295.5 MB, free: 14.57 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+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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 63.89 kB / 443.1 MB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3597, allocations: 66.01 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003136/0.3629, allocations: 2.517 MB / 0.4997 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.364, allocations: 0.7489 MB / 0.5004 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.3641, allocations: 10.56 kB / 0.5004 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.3643, allocations: 81.67 kB / 0.5005 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.3645, allocations: 108.1 kB / 0.5006 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.3647, allocations: 112 kB / 0.5007 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.365, allocations: 422.7 kB / 0.5011 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.3652, allocations: 97.95 kB / 0.5012 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.3654, allocations: 150.8 kB / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.3656, allocations: 150 kB / 0.5015 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.3656, allocations: 31.59 kB / 0.5015 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.005e-05/0.3657, allocations: 34.09 kB / 0.5015 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.3658, allocations: 78.53 kB / 0.5016 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.3659, allocations: 153.6 kB / 0.5018 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.3663, allocations: 433 kB / 0.5022 GB, free: 26.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3663, allocations: 0 / 0.5022 GB, free: 26.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3663, allocations: 0 / 0.5022 GB, free: 26.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3663, allocations: 0 / 0.5022 GB, free: 26.78 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.0008802/0.3672, allocations: 0.6067 MB / 0.5028 GB, free: 26.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3672, allocations: 9.906 kB / 0.5028 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.3673, allocations: 44.36 kB / 0.5028 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.3676, allocations: 228.6 kB / 0.503 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.3677, allocations: 27.62 kB / 0.5031 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.3677, allocations: 34.56 kB / 0.5031 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005832/0.3683, allocations: 360.2 kB / 0.5034 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3683, allocations: 0 / 0.5034 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.3683, allocations: 11.19 kB / 0.5035 GB, free: 25.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.3683, allocations: 9.375 kB / 0.5035 GB, free: 25.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/0.3689, allocations: 267.6 kB / 0.5037 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.3704, allocations: 1.166 MB / 0.5049 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.3708, allocations: 190 kB / 0.505 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.371, allocations: 76.31 kB / 0.5051 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.371, allocations: 10.22 kB / 0.5051 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.371, allocations: 33.22 kB / 0.5052 GB, free: 24.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.371, allocations: 0 / 0.5052 GB, free: 24.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006965/0.3717, allocations: 250.8 kB / 0.5054 GB, free: 24.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.3717, allocations: 131.5 kB / 0.5055 GB, free: 24.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.372, allocations: 291.5 kB / 0.5058 GB, free: 24.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.372, allocations: 32.73 kB / 0.5058 GB, free: 24.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.072e-05/0.3721, allocations: 250.2 kB / 0.5061 GB, free: 24.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.3721, allocations: 59.52 kB / 0.5061 GB, free: 24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.3722, allocations: 55.33 kB / 0.5062 GB, free: 23.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.853e-05/0.3722, allocations: 335.6 kB / 0.5065 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.3724, allocations: 91.22 kB / 0.5066 GB, free: 23.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.3727, allocations: 163.3 kB / 0.5067 GB, free: 23.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.3731, allocations: 256.3 kB / 0.507 GB, free: 23.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3731, allocations: 3.031 kB / 0.507 GB, free: 23.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005555/0.3737, allocations: 307.4 kB / 0.5073 GB, free: 23.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3737, allocations: 6.031 kB / 0.5073 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3737, allocations: 7.094 kB / 0.5073 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3737, allocations: 3.125 kB / 0.5073 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.3741, allocations: 91.44 kB / 0.5074 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3741, allocations: 10.53 kB / 0.5074 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.3744, allocations: 45.78 kB / 0.5074 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.3744, allocations: 14 kB / 0.5075 GB, free: 23.12 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.0001092/0.3745, allocations: 153.5 kB / 0.5076 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.3746, allocations: 28.12 kB / 0.5076 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.3746, allocations: 27.34 kB / 0.5077 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3746, allocations: 3.062 kB / 0.5077 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3746, allocations: 0 / 0.5077 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3746, allocations: 6.859 kB / 0.5077 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.3752, allocations: 0.4985 MB / 0.5081 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3752, allocations: 0 / 0.5081 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.3755, allocations: 64.7 kB / 0.5082 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3755, allocations: 3.156 kB / 0.5082 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3755, allocations: 0 / 0.5082 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3755, allocations: 2.969 kB / 0.5082 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3755, allocations: 10.45 kB / 0.5082 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004606/0.3759, allocations: 388.7 kB / 0.5086 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.376, allocations: 32.05 kB / 0.5086 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.376, allocations: 3.531 kB / 0.5086 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.3762, allocations: 19.41 kB / 0.5086 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.3763, allocations: 19.98 kB / 0.5087 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3763, allocations: 3.25 kB / 0.5087 GB, free: 22.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.3764, allocations: 205.2 kB / 0.5089 GB, free: 22.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3764, allocations: 3.188 kB / 0.5089 GB, free: 22.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000378/0.3768, allocations: 73.28 kB / 0.5089 GB, free: 22.04 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.311e-05/0.3769, allocations: 101.9 kB / 0.509 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004816/0.3774, allocations: 187.1 kB / 0.5092 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3774, allocations: 3.094 kB / 0.5092 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.3776, allocations: 70.53 kB / 0.5093 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.378, allocations: 29.62 kB / 0.5093 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.3787, allocations: 0.5761 MB / 0.5099 GB, free: 21.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.3788, allocations: 177.3 kB / 0.51 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.39e-05/0.3789, allocations: 17.61 kB / 0.5101 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.379, allocations: 19.66 kB / 0.5101 GB, free: 21.36 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.379, allocations: 0 / 0.5101 GB, free: 21.36 MB / 446.1 MB Notification: Performance of Templates: time 0.004681/0.3837, allocations: 1.497 MB / 0.5115 GB, free: 21.12 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.162383207003586]