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.001691/0.001691, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.002129/0.002129, allocations: 201.8 kB / 25.13 MB, free: 3.578 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.505/1.505, allocations: 230.4 MB / 258.7 MB, free: 8.055 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.2356/0.2356, allocations: 46.94 MB / 362 MB, free: 4.23 MB / 286.1 MB " [Timeout remaining time 180] 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.002371/0.002371, allocations: 79.88 kB / 0.4978 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3133, allocations: 66.09 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004522/0.3178, allocations: 2.702 MB / 0.565 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.3193, allocations: 0.7903 MB / 0.5657 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.3195, allocations: 11.94 kB / 0.5657 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.3197, allocations: 71.36 kB / 0.5658 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.32, allocations: 111.2 kB / 0.5659 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.3204, allocations: 107.9 kB / 0.566 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.3209, allocations: 429.6 kB / 0.5664 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.3211, allocations: 103.8 kB / 0.5665 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.3213, allocations: 151.5 kB / 0.5667 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.3215, allocations: 171.2 kB / 0.5668 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.3216, allocations: 36 kB / 0.5669 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.876e-05/0.3217, allocations: 36 kB / 0.5669 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.3217, allocations: 75.69 kB / 0.567 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.3219, allocations: 187 kB / 0.5672 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004962/0.3224, allocations: 428.7 kB / 0.5676 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3224, allocations: 0 / 0.5676 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3224, allocations: 0 / 0.5676 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3224, allocations: 3.984 kB / 0.5676 GB, free: 14.88 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.001168/0.3236, allocations: 0.6066 MB / 0.5682 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3237, allocations: 12.03 kB / 0.5682 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.3237, allocations: 40.7 kB / 0.5682 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.3242, allocations: 228.8 kB / 0.5684 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.3242, allocations: 29.38 kB / 0.5685 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.3243, allocations: 32.38 kB / 0.5685 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.325, allocations: 358.2 kB / 0.5688 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.325, allocations: 0 / 0.5688 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.325, allocations: 16 kB / 0.5688 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3251, allocations: 11.98 kB / 0.5689 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000625/0.3257, allocations: 263.8 kB / 0.5691 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.3279, allocations: 1.289 MB / 0.5704 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.3284, allocations: 198.5 kB / 0.5706 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.3286, allocations: 83.55 kB / 0.5706 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.3287, allocations: 0 / 0.5706 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.3287, allocations: 42.55 kB / 0.5707 GB, free: 11.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.3287, allocations: 3.938 kB / 0.5707 GB, free: 11.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007977/0.3295, allocations: 253.2 kB / 0.5709 GB, free: 11.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/0.3296, allocations: 136.6 kB / 0.5711 GB, free: 11.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.33, allocations: 341.7 kB / 0.5714 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3301, allocations: 29.7 kB / 0.5714 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.3303, allocations: 240.1 kB / 0.5716 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.3303, allocations: 51.59 kB / 0.5717 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3304, allocations: 57.94 kB / 0.5717 GB, free: 10.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3306, allocations: 346.7 kB / 0.5721 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.3308, allocations: 80.52 kB / 0.5721 GB, free: 9.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.3311, allocations: 164.2 kB / 0.5723 GB, free: 9.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.3316, allocations: 254.9 kB / 0.5725 GB, free: 9.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.3316, allocations: 0 / 0.5725 GB, free: 9.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006678/0.3323, allocations: 313.1 kB / 0.5728 GB, free: 9.086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3323, allocations: 8 kB / 0.5729 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3323, allocations: 4 kB / 0.5729 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.3323, allocations: 4 kB / 0.5729 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.3327, allocations: 96.05 kB / 0.573 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3328, allocations: 11.94 kB / 0.573 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.333, allocations: 47.66 kB / 0.573 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.333, allocations: 12.56 kB / 0.573 GB, free: 8.906 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.0001502/0.3332, allocations: 145.7 kB / 0.5732 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3333, allocations: 35.8 kB / 0.5732 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.9e-05/0.3334, allocations: 34.5 kB / 0.5732 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3334, allocations: 4 kB / 0.5732 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3334, allocations: 4 kB / 0.5732 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3334, allocations: 4 kB / 0.5732 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000881/0.3343, allocations: 0.5632 MB / 0.5738 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3343, allocations: 4 kB / 0.5738 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.3346, allocations: 60.03 kB / 0.5738 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.3346, allocations: 4 kB / 0.5739 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.3346, allocations: 11.94 kB / 0.5739 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3346, allocations: 0 / 0.5739 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3346, allocations: 4 kB / 0.5739 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/0.3352, allocations: 398.7 kB / 0.5742 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.3353, allocations: 32.08 kB / 0.5743 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.3353, allocations: 15.94 kB / 0.5743 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.3355, allocations: 11.98 kB / 0.5743 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.583e-05/0.3356, allocations: 15.97 kB / 0.5743 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3356, allocations: 7.984 kB / 0.5743 GB, free: 7.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002781/0.3359, allocations: 239.2 kB / 0.5746 GB, free: 7.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3359, allocations: 0 / 0.5746 GB, free: 7.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.3363, allocations: 71.83 kB / 0.5746 GB, free: 7.152 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.000131/0.3365, allocations: 107.1 kB / 0.5747 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005461/0.337, allocations: 187.7 kB / 0.5749 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.337, allocations: 0.5 kB / 0.5749 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.3372, allocations: 79.83 kB / 0.575 GB, free: 6.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.3376, allocations: 27.72 kB / 0.575 GB, free: 6.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.3387, allocations: 0.5736 MB / 0.5756 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.3391, allocations: 0.7714 MB / 0.5763 GB, free: 5.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.327e-05/0.3392, allocations: 25.94 kB / 0.5763 GB, free: 5.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.3393, allocations: 19.44 kB / 0.5764 GB, free: 5.289 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3393, allocations: 3.938 kB / 0.5764 GB, free: 5.285 MB / 414.1 MB Notification: Performance of Templates: time 0.005913/0.3452, allocations: 2.012 MB / 0.5783 GB, free: 3.273 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 gbode -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/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-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.667449780041352]