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.001458/0.001458, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001548/0.001548, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.715/1.715, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.3617/0.3617, allocations: 46.94 MB / 360.8 MB, free: 4.281 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.003625/0.003625, allocations: 63.91 kB / 0.4966 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4279, allocations: 66.02 MB / 0.5611 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004664/0.4326, allocations: 2.721 MB / 0.5638 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.4341, allocations: 0.802 MB / 0.5646 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.4343, allocations: 8 kB / 0.5646 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.4346, allocations: 71.38 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.4348, allocations: 107.2 kB / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.4351, allocations: 115.8 kB / 0.5648 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000513/0.4357, allocations: 422.3 kB / 0.5652 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.4359, allocations: 103.8 kB / 0.5653 GB, free: 92 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.4361, allocations: 151.5 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.4364, allocations: 171.1 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.4364, allocations: 32 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.854e-05/0.4365, allocations: 36 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.4365, allocations: 75.7 kB / 0.5658 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.4367, allocations: 187 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005286/0.4373, allocations: 428.7 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4373, allocations: 4 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4373, allocations: 0 / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4373, allocations: 0 / 0.5664 GB, free: 15.03 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.001164/0.4384, allocations: 0.6066 MB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4385, allocations: 8.031 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.734e-05/0.4386, allocations: 40.7 kB / 0.567 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.439, allocations: 224.9 kB / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.439, allocations: 29.31 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.4391, allocations: 32.38 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/0.4399, allocations: 370.2 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.4399, allocations: 3.984 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.4399, allocations: 12 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.4399, allocations: 8 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006565/0.4406, allocations: 267.8 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.4429, allocations: 1.304 MB / 0.5692 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.4434, allocations: 182.6 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.4436, allocations: 83.52 kB / 0.5694 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.4437, allocations: 4 kB / 0.5695 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.4437, allocations: 34.5 kB / 0.5695 GB, free: 11.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.4437, allocations: 0 / 0.5695 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008115/0.4445, allocations: 265.4 kB / 0.5697 GB, free: 11.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.4446, allocations: 128.5 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/0.4452, allocations: 341.7 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.4452, allocations: 25.7 kB / 0.5702 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.4454, allocations: 248.3 kB / 0.5704 GB, free: 10.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.4455, allocations: 55.58 kB / 0.5705 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.4456, allocations: 57.94 kB / 0.5706 GB, free: 10.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.4459, allocations: 338.8 kB / 0.5709 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.4461, allocations: 80.5 kB / 0.571 GB, free: 10.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.4464, allocations: 176.1 kB / 0.5711 GB, free: 9.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.4469, allocations: 243.5 kB / 0.5714 GB, free: 9.555 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4469, allocations: 4 kB / 0.5714 GB, free: 9.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006981/0.4476, allocations: 321.2 kB / 0.5717 GB, free: 9.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4476, allocations: 4 kB / 0.5717 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4476, allocations: 4 kB / 0.5717 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.4477, allocations: 4 kB / 0.5717 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.4481, allocations: 87.86 kB / 0.5718 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.4481, allocations: 4 kB / 0.5718 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.4484, allocations: 63.58 kB / 0.5718 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.4484, allocations: 12.06 kB / 0.5718 GB, free: 9.055 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.0001608/0.4485, allocations: 153.7 kB / 0.572 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.4486, allocations: 27.81 kB / 0.572 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.398e-05/0.4487, allocations: 38.5 kB / 0.572 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4487, allocations: 0 / 0.572 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.4487, allocations: 4 kB / 0.5721 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.4487, allocations: 3.984 kB / 0.5721 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008628/0.4496, allocations: 0.5632 MB / 0.5726 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4496, allocations: 0 / 0.5726 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.4499, allocations: 59.94 kB / 0.5727 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4499, allocations: 0 / 0.5727 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4499, allocations: 12.09 kB / 0.5727 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4499, allocations: 4 kB / 0.5727 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.4499, allocations: 3.938 kB / 0.5727 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/0.4505, allocations: 394.8 kB / 0.5731 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.4506, allocations: 31.8 kB / 0.5731 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.4506, allocations: 11.94 kB / 0.5731 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.4508, allocations: 19.91 kB / 0.5731 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.4509, allocations: 23.92 kB / 0.5731 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.4509, allocations: 4 kB / 0.5731 GB, free: 7.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002732/0.4512, allocations: 239.2 kB / 0.5734 GB, free: 7.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4512, allocations: 0 / 0.5734 GB, free: 7.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.4516, allocations: 67.89 kB / 0.5734 GB, free: 7.309 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.0001275/0.4517, allocations: 107.1 kB / 0.5735 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005313/0.4522, allocations: 191.7 kB / 0.5737 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4523, allocations: 0 / 0.5737 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.4525, allocations: 80.81 kB / 0.5738 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.4529, allocations: 29.38 kB / 0.5738 GB, free: 6.898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.454, allocations: 0.5655 MB / 0.5744 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.4546, allocations: 0.7753 MB / 0.5751 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.633e-05/0.4547, allocations: 22.22 kB / 0.5752 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.4548, allocations: 31.42 kB / 0.5752 GB, free: 5.434 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4548, allocations: 0 / 0.5752 GB, free: 5.434 MB / 414.1 MB Notification: Performance of Templates: time 0.0061/0.4609, allocations: 2.005 MB / 0.5771 GB, free: 3.434 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.816893280018121]