Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.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.001913/0.001913, allocations: 108.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.002239/0.002239, allocations: 216.5 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.529/1.529, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2614/0.2614, allocations: 46.87 MB / 361.1 MB, free: 4.637 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.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-beta.om_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-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources") [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.002307/0.002307, allocations: 79.86 kB / 0.4967 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4025, allocations: 65.98 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004731/0.4072, allocations: 2.721 MB / 0.5638 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.4088, allocations: 0.802 MB / 0.5646 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.409, allocations: 4 kB / 0.5646 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.4092, allocations: 75.36 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.4095, allocations: 107.2 kB / 0.5648 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.4098, allocations: 111.8 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.4104, allocations: 426.2 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.4106, allocations: 99.3 kB / 0.5654 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.4108, allocations: 151.4 kB / 0.5655 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.411, allocations: 167.2 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.4111, allocations: 36 kB / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.4111, allocations: 32 kB / 0.5658 GB, free: 288 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.4112, allocations: 79.7 kB / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.4114, allocations: 191 kB / 0.566 GB, free: 16 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005892/0.412, allocations: 425.1 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.412, allocations: 4 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.412, allocations: 0 / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.412, allocations: 0 / 0.5664 GB, free: 15.59 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.00124/0.4133, allocations: 0.6819 MB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4133, allocations: 12.03 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.853e-05/0.4134, allocations: 40.7 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.4139, allocations: 282.7 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.4139, allocations: 25.38 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.414, allocations: 36.31 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/0.4147, allocations: 366.2 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4147, allocations: 0 / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.4147, allocations: 16 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.4148, allocations: 8 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.4154, allocations: 259.8 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.4176, allocations: 1.347 MB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.4182, allocations: 186.6 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.4184, allocations: 87.5 kB / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.4184, allocations: 0 / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.4185, allocations: 46.48 kB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.4185, allocations: 0 / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.000855/0.4193, allocations: 253.6 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.4194, allocations: 132.5 kB / 0.5701 GB, free: 11.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.4199, allocations: 341.6 kB / 0.5704 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.4199, allocations: 33.7 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.4201, allocations: 248.3 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.4202, allocations: 55.53 kB / 0.5707 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.4203, allocations: 53.94 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.4205, allocations: 346.8 kB / 0.5711 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.4207, allocations: 72.5 kB / 0.5712 GB, free: 10.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.421, allocations: 180.1 kB / 0.5714 GB, free: 10.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/0.4216, allocations: 247.1 kB / 0.5716 GB, free: 9.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4216, allocations: 0 / 0.5716 GB, free: 9.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007124/0.4223, allocations: 317.2 kB / 0.5719 GB, free: 9.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4223, allocations: 8 kB / 0.5719 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4223, allocations: 0 / 0.5719 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.4224, allocations: 8 kB / 0.5719 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.4228, allocations: 87.88 kB / 0.572 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.4228, allocations: 7.984 kB / 0.572 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.4231, allocations: 47.66 kB / 0.5721 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.4231, allocations: 16.16 kB / 0.5721 GB, free: 9.406 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.0001862/0.4233, allocations: 153.7 kB / 0.5722 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.4234, allocations: 31.81 kB / 0.5722 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.4234, allocations: 38.33 kB / 0.5723 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4234, allocations: 4 kB / 0.5723 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4235, allocations: 0 / 0.5723 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4235, allocations: 0 / 0.5723 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.4245, allocations: 0.5954 MB / 0.5729 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4245, allocations: 4 kB / 0.5729 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.4247, allocations: 51.94 kB / 0.5729 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4248, allocations: 4 kB / 0.5729 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.508e-05/0.4248, allocations: 12.09 kB / 0.5729 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.4248, allocations: 4 kB / 0.5729 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.4249, allocations: 12.05 kB / 0.573 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.4255, allocations: 394.8 kB / 0.5733 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.4256, allocations: 108.8 kB / 0.5734 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.4256, allocations: 11.94 kB / 0.5734 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.4259, allocations: 11.98 kB / 0.5735 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.4259, allocations: 23.92 kB / 0.5735 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.4259, allocations: 7.938 kB / 0.5735 GB, free: 7.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.4262, allocations: 243.2 kB / 0.5737 GB, free: 7.586 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4262, allocations: 0 / 0.5737 GB, free: 7.586 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003884/0.4266, allocations: 67.89 kB / 0.5738 GB, free: 7.52 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.0001393/0.4267, allocations: 95.25 kB / 0.5739 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005653/0.4273, allocations: 195.6 kB / 0.5741 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4273, allocations: 0 / 0.5741 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.4275, allocations: 80.69 kB / 0.5741 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.4279, allocations: 29.38 kB / 0.5742 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4291, allocations: 0.5644 MB / 0.5747 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.4296, allocations: 0.7753 MB / 0.5755 GB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.574e-05/0.4297, allocations: 22.22 kB / 0.5755 GB, free: 5.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.4298, allocations: 23.42 kB / 0.5755 GB, free: 5.664 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4298, allocations: 4 kB / 0.5755 GB, free: 5.66 MB / 414.1 MB Notification: Performance of Templates: time 0.005989/0.4358, allocations: 1.94 MB / 0.5774 GB, free: 3.727 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.379936776123941]