Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0008397/0.0008397, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003755/0.003755, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8542/0.8542, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3026/0.3026, allocations: 34.24 MB / 295.6 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.622e-05, allocations: 6.281 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.1971/0.1972, allocations: 2.505 MB / 445.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.198, allocations: 0.7544 MB / 446.7 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1981, allocations: 9.719 kB / 446.7 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.1983, allocations: 68.55 kB / 446.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.1985, allocations: 114.1 kB / 446.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.1987, allocations: 112.4 kB / 447 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.1989, allocations: 428.2 kB / 447.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.1991, allocations: 93.69 kB / 447.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.1993, allocations: 234.5 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.1994, allocations: 126.2 kB / 447.8 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.1994, allocations: 32.25 kB / 447.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.87e-05/0.1994, allocations: 34.84 kB / 447.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.1995, allocations: 74.59 kB / 448 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.1995, allocations: 121.5 kB / 448.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1998, allocations: 436.1 kB / 448.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1998, allocations: 0 / 448.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1998, allocations: 0 / 448.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1998, allocations: 0 / 448.5 MB, free: 42.19 MB / 410.7 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.0006189/0.2004, allocations: 0.6021 MB / 449.1 MB, free: 41.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2004, allocations: 8.688 kB / 449.1 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.2005, allocations: 44.66 kB / 449.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.2008, allocations: 228.1 kB / 449.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2008, allocations: 23.5 kB / 449.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.2008, allocations: 32.31 kB / 449.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.2012, allocations: 364.1 kB / 449.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2012, allocations: 6.625 kB / 449.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.2012, allocations: 14.94 kB / 449.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2012, allocations: 10.66 kB / 449.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.2015, allocations: 262.4 kB / 450.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009588/0.2025, allocations: 1.164 MB / 451.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.2028, allocations: 199.1 kB / 451.4 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2029, allocations: 80.73 kB / 451.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.2029, allocations: 6.75 kB / 451.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.2029, allocations: 45.12 kB / 451.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.2029, allocations: 0 / 451.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004215/0.2033, allocations: 240.4 kB / 451.8 MB, free: 40.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.2034, allocations: 130.9 kB / 451.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.2036, allocations: 297 kB / 452.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.2036, allocations: 32.3 kB / 452.3 MB, free: 39.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/0.2037, allocations: 258.5 kB / 452.5 MB, free: 39.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.2037, allocations: 52.73 kB / 452.6 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.2037, allocations: 56.8 kB / 452.6 MB, free: 39.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.2038, allocations: 334.8 kB / 452.9 MB, free: 39.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2039, allocations: 80.41 kB / 453 MB, free: 39.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.2041, allocations: 166.4 kB / 453.2 MB, free: 38.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.2043, allocations: 251.7 kB / 453.4 MB, free: 38.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2043, allocations: 4 kB / 453.4 MB, free: 38.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003569/0.2047, allocations: 309.8 kB / 453.7 MB, free: 38.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2047, allocations: 5.719 kB / 453.7 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2047, allocations: 2.844 kB / 453.7 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.2047, allocations: 8.625 kB / 453.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.2049, allocations: 92.39 kB / 453.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2049, allocations: 2.688 kB / 453.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.2051, allocations: 47.03 kB / 453.9 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.2051, allocations: 8.594 kB / 453.9 MB, free: 38.56 MB / 410.7 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 9.068e-05/0.2052, allocations: 151.5 kB / 454 MB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.2052, allocations: 27.39 kB / 454.1 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.2053, allocations: 34.17 kB / 454.1 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2053, allocations: 2.688 kB / 454.1 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2053, allocations: 2.844 kB / 454.1 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2053, allocations: 3.938 kB / 454.1 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.2057, allocations: 0.4997 MB / 454.6 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2057, allocations: 2.812 kB / 454.6 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2058, allocations: 56.97 kB / 454.7 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2058, allocations: 6.844 kB / 454.7 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2058, allocations: 14.12 kB / 454.7 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2058, allocations: 2.812 kB / 454.7 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2059, allocations: 6.812 kB / 454.7 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.2061, allocations: 387.1 kB / 455.1 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.2061, allocations: 35.55 kB / 455.1 MB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.2062, allocations: 6.938 kB / 455.1 MB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.2063, allocations: 14.72 kB / 455.1 MB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.2063, allocations: 23.67 kB / 455.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.2063, allocations: 5.531 kB / 455.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.2064, allocations: 198.8 kB / 455.4 MB, free: 37.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2064, allocations: 0 / 455.4 MB, free: 37.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.2067, allocations: 76.34 kB / 455.4 MB, free: 37.47 MB / 410.7 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.875e-05/0.2068, allocations: 96.25 kB / 455.5 MB, free: 37.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.2071, allocations: 191.3 kB / 455.7 MB, free: 37.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2071, allocations: 0 / 455.7 MB, free: 37.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2072, allocations: 83.39 kB / 455.8 MB, free: 37.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.2075, allocations: 19.78 kB / 455.8 MB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.2081, allocations: 0.5588 MB / 456.4 MB, free: 36.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.73e-05/0.2082, allocations: 171.5 kB / 456.5 MB, free: 36.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.2082, allocations: 23.33 kB / 456.6 MB, free: 36.8 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2082, allocations: 4 kB / 456.6 MB, free: 36.8 MB / 410.7 MB Notification: Performance of Templates: time 0.003341/0.2116, allocations: 3.214 MB / 459.8 MB, free: 36.44 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.749568348750472]