Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001932/0.001932, allocations: 84 kB / 20.68 MB, free: 1.023 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.001894/0.001894, allocations: 164 kB / 23.95 MB, free: 4.156 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.451/1.451, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2064/0.2064, allocations: 32.81 MB / 293.5 MB, free: 20 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.171e-05, allocations: 2.281 kB / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004259/0.004281, allocations: 2.519 MB / 442.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.005878, allocations: 0.7554 MB / 443.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.006021, allocations: 7.938 kB / 443.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.006253, allocations: 67.42 kB / 443.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.006502, allocations: 111 kB / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.006795, allocations: 119.8 kB / 443.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000442/0.007237, allocations: 434.3 kB / 444.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.007459, allocations: 99.77 kB / 444.2 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.007739, allocations: 227.5 kB / 444.4 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.007926, allocations: 127.6 kB / 444.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.431e-05/0.008, allocations: 32 kB / 444.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.008056, allocations: 32 kB / 444.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.417e-05/0.008141, allocations: 79.72 kB / 444.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.00828, allocations: 115.7 kB / 444.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.008762, allocations: 434.5 kB / 445.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.029e-05/0.008822, allocations: 8 kB / 445.2 MB, free: 3.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008824, allocations: 0 / 445.2 MB, free: 3.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.008836, allocations: 0 / 445.2 MB, free: 3.027 MB / 366.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.001126/0.009962, allocations: 0.5949 MB / 445.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.01, allocations: 11.98 kB / 445.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/0.01008, allocations: 48.66 kB / 445.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.01048, allocations: 224.5 kB / 446.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.01053, allocations: 29.31 kB / 446.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.01058, allocations: 36.38 kB / 446.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.01129, allocations: 362.9 kB / 446.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.0113, allocations: 0 / 446.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.01134, allocations: 16 kB / 446.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.01135, allocations: 12 kB / 446.5 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.01209, allocations: 259.8 kB / 446.8 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.01433, allocations: 1.165 MB / 447.9 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1809/0.1952, allocations: 185.9 kB / 448.1 MB, free: 21.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.1955, allocations: 79.61 kB / 448.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.1955, allocations: 7.625 kB / 448.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.1955, allocations: 40.66 kB / 448.2 MB, free: 21.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.1955, allocations: 0 / 448.2 MB, free: 21.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008248/0.1963, allocations: 246 kB / 448.5 MB, free: 21.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.1964, allocations: 135.8 kB / 448.6 MB, free: 21.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.1967, allocations: 299.1 kB / 448.9 MB, free: 21.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1967, allocations: 26.8 kB / 448.9 MB, free: 21.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1968, allocations: 254.2 kB / 449.2 MB, free: 20.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1968, allocations: 53.05 kB / 449.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.314e-05/0.1969, allocations: 58.34 kB / 449.3 MB, free: 20.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.1969, allocations: 336.8 kB / 449.6 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.1972, allocations: 75.86 kB / 449.7 MB, free: 20.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.1974, allocations: 170.8 kB / 449.9 MB, free: 20.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.1979, allocations: 256 kB / 450.1 MB, free: 20.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1979, allocations: 1.344 kB / 450.1 MB, free: 20.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006392/0.1985, allocations: 301.1 kB / 450.4 MB, free: 20.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1986, allocations: 6.812 kB / 450.4 MB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1986, allocations: 3.5 kB / 450.4 MB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1986, allocations: 5.531 kB / 450.4 MB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.199, allocations: 92.09 kB / 450.5 MB, free: 20.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.199, allocations: 8.953 kB / 450.5 MB, free: 20.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.1993, allocations: 42.38 kB / 450.6 MB, free: 20.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.1993, allocations: 16.67 kB / 450.6 MB, free: 20.13 MB / 366.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.0001169/0.1994, allocations: 152.6 kB / 450.7 MB, free: 19.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.664e-05/0.1995, allocations: 29.67 kB / 450.8 MB, free: 19.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.1996, allocations: 28.09 kB / 450.8 MB, free: 19.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1996, allocations: 4.141 kB / 450.8 MB, free: 19.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1996, allocations: 1.844 kB / 450.8 MB, free: 19.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1996, allocations: 1.75 kB / 450.8 MB, free: 19.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000618/0.2002, allocations: 0.4962 MB / 451.3 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2002, allocations: 6.031 kB / 451.3 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.2005, allocations: 62.48 kB / 451.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2005, allocations: 3.281 kB / 451.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2005, allocations: 6.875 kB / 451.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2005, allocations: 2.125 kB / 451.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2005, allocations: 6.094 kB / 451.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.201, allocations: 393.7 kB / 451.8 MB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.201, allocations: 27.08 kB / 451.8 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.2011, allocations: 2.859 kB / 451.8 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.2013, allocations: 19.52 kB / 451.8 MB, free: 19.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.2014, allocations: 24.25 kB / 451.8 MB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.2014, allocations: 5.531 kB / 451.8 MB, free: 19.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.2015, allocations: 201.2 kB / 452 MB, free: 19.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2015, allocations: 0 / 452 MB, free: 19.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000401/0.2019, allocations: 76.88 kB / 452.1 MB, free: 19.09 MB / 366.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 8.705e-05/0.202, allocations: 101.9 kB / 452.2 MB, free: 19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000546/0.2026, allocations: 185.9 kB / 452.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2026, allocations: 1.094 kB / 452.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.2028, allocations: 76.95 kB / 452.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.2032, allocations: 22.22 kB / 452.5 MB, free: 18.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.204, allocations: 0.5409 MB / 453 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.2041, allocations: 169 kB / 453.2 MB, free: 18.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.909e-05/0.2042, allocations: 22.53 kB / 453.2 MB, free: 18.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.2043, allocations: 21.66 kB / 453.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2043, allocations: 0 / 453.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of Templates: time 0.005265/0.2096, allocations: 1.52 MB / 454.8 MB, free: 18.25 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.967578370124102]