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.001467/0.001467, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001845/0.001845, allocations: 211.5 kB / 23.73 MB, free: 4.523 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.697/1.697, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.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.2317/0.2317, allocations: 46.96 MB / 360.9 MB, free: 4.051 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.003047/0.003047, allocations: 64.14 kB / 0.4966 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4329, allocations: 66.04 MB / 0.5611 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004138/0.437, allocations: 2.524 MB / 0.5635 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.4383, allocations: 0.7359 MB / 0.5642 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.4384, allocations: 11.94 kB / 0.5643 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.4387, allocations: 67.39 kB / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.4389, allocations: 111.2 kB / 0.5644 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.4391, allocations: 111.8 kB / 0.5645 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004298/0.4396, allocations: 426.2 kB / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.4398, allocations: 103.8 kB / 0.565 GB, free: 112 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.44, allocations: 151.4 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.4402, allocations: 167.2 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.4402, allocations: 32 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.03e-05/0.4403, allocations: 40 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.767e-05/0.4404, allocations: 83.67 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.4405, allocations: 147.3 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.441, allocations: 436.6 kB / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.441, allocations: 0 / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.441, allocations: 0 / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.441, allocations: 0 / 0.566 GB, free: 15.08 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001058/0.442, allocations: 0.6066 MB / 0.5666 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.4421, allocations: 8.031 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.4421, allocations: 40.7 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.4425, allocations: 224.9 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.4425, allocations: 29.36 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.4426, allocations: 32.38 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.4433, allocations: 362.2 kB / 0.5673 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4433, allocations: 3.938 kB / 0.5673 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.4433, allocations: 16 kB / 0.5673 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4433, allocations: 8 kB / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00063/0.444, allocations: 267.7 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.446, allocations: 1.168 MB / 0.5687 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.4465, allocations: 186.5 kB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.4467, allocations: 79.52 kB / 0.569 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.4467, allocations: 4 kB / 0.569 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.4467, allocations: 42.5 kB / 0.569 GB, free: 11.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.4467, allocations: 0 / 0.569 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008081/0.4475, allocations: 249.8 kB / 0.5693 GB, free: 11.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.4476, allocations: 140.6 kB / 0.5694 GB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.4479, allocations: 288.5 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.448, allocations: 29.7 kB / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.4481, allocations: 255.9 kB / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.4482, allocations: 55.53 kB / 0.57 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/0.4483, allocations: 57.94 kB / 0.5701 GB, free: 10.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4484, allocations: 334.8 kB / 0.5704 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.4487, allocations: 76.62 kB / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.449, allocations: 180.2 kB / 0.5706 GB, free: 10.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.4495, allocations: 254.8 kB / 0.5709 GB, free: 9.785 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.4495, allocations: 4 kB / 0.5709 GB, free: 9.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006487/0.4502, allocations: 293.1 kB / 0.5711 GB, free: 9.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4502, allocations: 12.25 kB / 0.5712 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4502, allocations: 4 kB / 0.5712 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4502, allocations: 7.938 kB / 0.5712 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.4506, allocations: 91.86 kB / 0.5713 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4506, allocations: 4 kB / 0.5713 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.4509, allocations: 43.75 kB / 0.5713 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.4509, allocations: 12 kB / 0.5713 GB, free: 9.316 MB / 414.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.0001512/0.4511, allocations: 153.7 kB / 0.5715 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.4512, allocations: 27.81 kB / 0.5715 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.496e-05/0.4512, allocations: 33.45 kB / 0.5715 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.4512, allocations: 4 kB / 0.5715 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4512, allocations: 0 / 0.5715 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4513, allocations: 7.984 kB / 0.5715 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007268/0.452, allocations: 0.4936 MB / 0.572 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.452, allocations: 0 / 0.572 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.4523, allocations: 64.05 kB / 0.5721 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.4523, allocations: 3.984 kB / 0.5721 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4523, allocations: 4 kB / 0.5721 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.4523, allocations: 4 kB / 0.5721 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4523, allocations: 3.938 kB / 0.5721 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000587/0.4529, allocations: 398 kB / 0.5725 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.4529, allocations: 31.78 kB / 0.5725 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.453, allocations: 7.938 kB / 0.5725 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.4532, allocations: 15.98 kB / 0.5725 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.4533, allocations: 23.91 kB / 0.5725 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4533, allocations: 4 kB / 0.5725 GB, free: 7.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.4535, allocations: 203 kB / 0.5727 GB, free: 7.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4535, allocations: 0 / 0.5727 GB, free: 7.758 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000405/0.4539, allocations: 75.78 kB / 0.5728 GB, free: 7.684 MB / 414.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 0.0001114/0.454, allocations: 103.2 kB / 0.5729 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.4546, allocations: 184 kB / 0.5731 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4546, allocations: 0 / 0.5731 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.4548, allocations: 80.45 kB / 0.5732 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.4552, allocations: 24.59 kB / 0.5732 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.4562, allocations: 0.5656 MB / 0.5737 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.4564, allocations: 176.7 kB / 0.5739 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.121e-05/0.4565, allocations: 17.62 kB / 0.5739 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.4566, allocations: 19.42 kB / 0.5739 GB, free: 6.453 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4566, allocations: 0 / 0.5739 GB, free: 6.453 MB / 414.1 MB Notification: Performance of Templates: time 0.005682/0.4623, allocations: 1.961 MB / 0.5759 GB, free: 4.504 MB / 414.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/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.64996282197535]