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.001616/0.001616, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002235/0.002235, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.62/1.62, allocations: 230.3 MB / 258 MB, free: 8.184 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.2906/0.2906, allocations: 46.94 MB / 361.4 MB, free: 4.387 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.002549/0.002549, allocations: 79.88 kB / 0.4972 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3874, allocations: 66.04 MB / 0.5616 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004769/0.3922, allocations: 2.722 MB / 0.5643 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3939, allocations: 0.7905 MB / 0.5651 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.3941, allocations: 4 kB / 0.5651 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.3945, allocations: 79.36 kB / 0.5652 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.3948, allocations: 111.2 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.3952, allocations: 115.7 kB / 0.5654 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000513/0.3957, allocations: 426.2 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.3959, allocations: 99.84 kB / 0.5659 GB, free: 168 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.3961, allocations: 151.4 kB / 0.566 GB, free: 16 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.3963, allocations: 171.3 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.308e-05/0.3964, allocations: 36 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.607e-05/0.3965, allocations: 32 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.3965, allocations: 83.69 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.3967, allocations: 183 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.3972, allocations: 428.8 kB / 0.5669 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3972, allocations: 0 / 0.5669 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3972, allocations: 0 / 0.5669 GB, free: 15.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.3972, allocations: 4 kB / 0.5669 GB, free: 15.1 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.001263/0.3985, allocations: 0.6066 MB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.3986, allocations: 8.031 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.143e-05/0.3986, allocations: 40.7 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005028/0.3992, allocations: 232.8 kB / 0.5678 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.3992, allocations: 25.38 kB / 0.5678 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.3993, allocations: 36.31 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.4, allocations: 358.2 kB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.4, allocations: 0 / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.4001, allocations: 16 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.4001, allocations: 8 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.4007, allocations: 267.8 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.4031, allocations: 1.296 MB / 0.5697 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.4037, allocations: 194.5 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.4039, allocations: 75.56 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.4039, allocations: 3.938 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.404, allocations: 46.55 kB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.404, allocations: 0 / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.000835/0.4048, allocations: 249.2 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.723e-05/0.4049, allocations: 136.6 kB / 0.5704 GB, free: 11.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.4054, allocations: 337.7 kB / 0.5707 GB, free: 10.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.4054, allocations: 33.7 kB / 0.5707 GB, free: 10.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.4056, allocations: 248.1 kB / 0.571 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/0.4057, allocations: 51.59 kB / 0.571 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.4058, allocations: 53.94 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.4061, allocations: 346.8 kB / 0.5714 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.4063, allocations: 76.5 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.4066, allocations: 176.2 kB / 0.5717 GB, free: 9.902 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.4071, allocations: 250.9 kB / 0.5719 GB, free: 9.617 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4071, allocations: 0 / 0.5719 GB, free: 9.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006799/0.4078, allocations: 309.1 kB / 0.5722 GB, free: 9.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.4078, allocations: 8 kB / 0.5722 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4078, allocations: 0 / 0.5722 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.4079, allocations: 8 kB / 0.5722 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.4083, allocations: 92.12 kB / 0.5723 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.4083, allocations: 7.984 kB / 0.5723 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.4086, allocations: 51.59 kB / 0.5723 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.4086, allocations: 15.94 kB / 0.5724 GB, free: 9.129 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.0001953/0.4088, allocations: 149.7 kB / 0.5725 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.4089, allocations: 35.75 kB / 0.5725 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.48e-05/0.409, allocations: 34.48 kB / 0.5726 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.409, allocations: 8 kB / 0.5726 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.409, allocations: 0 / 0.5726 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.409, allocations: 4 kB / 0.5726 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008842/0.4099, allocations: 0.5593 MB / 0.5731 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4099, allocations: 4.719 kB / 0.5731 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.4102, allocations: 55.94 kB / 0.5732 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.4102, allocations: 4 kB / 0.5732 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.4102, allocations: 12.22 kB / 0.5732 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.4102, allocations: 7.938 kB / 0.5732 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4102, allocations: 4 kB / 0.5732 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.4108, allocations: 398.7 kB / 0.5736 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.4108, allocations: 43.78 kB / 0.5736 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.4109, allocations: 3.938 kB / 0.5736 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.4111, allocations: 19.98 kB / 0.5737 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.4112, allocations: 11.97 kB / 0.5737 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.4112, allocations: 8 kB / 0.5737 GB, free: 7.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.4114, allocations: 235.2 kB / 0.5739 GB, free: 7.441 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4114, allocations: 0 / 0.5739 GB, free: 7.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004021/0.4118, allocations: 75.89 kB / 0.574 GB, free: 7.367 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.0001244/0.412, allocations: 99.12 kB / 0.5741 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.4125, allocations: 184.1 kB / 0.5742 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4125, allocations: 8.125 kB / 0.5743 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.4127, allocations: 71.89 kB / 0.5743 GB, free: 7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.4132, allocations: 29.38 kB / 0.5744 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.4143, allocations: 0.5695 MB / 0.5749 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.4148, allocations: 0.7753 MB / 0.5757 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.4149, allocations: 25.94 kB / 0.5757 GB, free: 5.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.415, allocations: 15.44 kB / 0.5757 GB, free: 5.52 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.415, allocations: 4 kB / 0.5757 GB, free: 5.516 MB / 414.1 MB Notification: Performance of Templates: time 0.006132/0.4211, allocations: 2.016 MB / 0.5777 GB, free: 3.504 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 -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/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-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.5464935172349215]