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.001447/0.001447, allocations: 84.55 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.001431/0.001431, allocations: 163.9 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.514/1.514, 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.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.2215/0.2215, allocations: 34.27 MB / 295 MB, free: 14.57 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+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 2.063e-06/2.063e-06, allocations: 0 / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.005e-05, allocations: 6.281 kB / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004562/0.004592, allocations: 2.521 MB / 445.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.005994, allocations: 0.7515 MB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.006127, allocations: 12 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.006365, allocations: 67.36 kB / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.006625, allocations: 107.1 kB / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.0069, allocations: 107.8 kB / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.007373, allocations: 446.2 kB / 446.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.007597, allocations: 103.8 kB / 446.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.00787, allocations: 219.6 kB / 447 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.008041, allocations: 123.6 kB / 447.1 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.0081, allocations: 32 kB / 447.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.008167, allocations: 36 kB / 447.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.512e-05/0.008263, allocations: 79.67 kB / 447.2 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.008405, allocations: 119.7 kB / 447.4 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.008921, allocations: 434.5 kB / 447.8 MB, free: 268 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.008925, allocations: 0 / 447.8 MB, free: 268 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.008927, allocations: 0 / 447.8 MB, free: 268 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.008934, allocations: 4 kB / 447.8 MB, free: 264 kB / 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.2083/0.2172, allocations: 0.5965 MB / 448.4 MB, free: 19.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2173, allocations: 9.875 kB / 448.4 MB, free: 19.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/0.2173, allocations: 48.25 kB / 448.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.2177, allocations: 228.6 kB / 448.7 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.2177, allocations: 25.81 kB / 448.7 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.2177, allocations: 30.25 kB / 448.7 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006635/0.2184, allocations: 359.3 kB / 449.1 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.2184, allocations: 5 kB / 449.1 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.2185, allocations: 14.73 kB / 449.1 MB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.2185, allocations: 9.531 kB / 449.1 MB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.2191, allocations: 266.2 kB / 449.4 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.2209, allocations: 1.162 MB / 450.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.2214, allocations: 190.3 kB / 450.7 MB, free: 18.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.2216, allocations: 82.92 kB / 450.8 MB, free: 18.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.2216, allocations: 3.344 kB / 450.8 MB, free: 18.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.2216, allocations: 46.53 kB / 450.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.2216, allocations: 0 / 450.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008462/0.2225, allocations: 239.4 kB / 451.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.2225, allocations: 138.7 kB / 451.2 MB, free: 17.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.2229, allocations: 295.5 kB / 451.5 MB, free: 17.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.2229, allocations: 27.67 kB / 451.5 MB, free: 17.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.2231, allocations: 257.8 kB / 451.8 MB, free: 17.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.2232, allocations: 59.02 kB / 451.8 MB, free: 17.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.2232, allocations: 57.36 kB / 451.9 MB, free: 17.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2234, allocations: 338 kB / 452.2 MB, free: 16.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.2236, allocations: 74.47 kB / 452.3 MB, free: 16.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.224, allocations: 169.5 kB / 452.4 MB, free: 16.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005653/0.2246, allocations: 247.9 kB / 452.7 MB, free: 16.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2246, allocations: 1.094 kB / 452.7 MB, free: 16.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007059/0.2253, allocations: 301.1 kB / 453 MB, free: 16.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.2253, allocations: 14.81 kB / 453 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.2253, allocations: 7.969 kB / 453 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.2253, allocations: 3.562 kB / 453 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.2258, allocations: 91.47 kB / 453.1 MB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.2258, allocations: 6.047 kB / 453.1 MB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.2261, allocations: 40.83 kB / 453.1 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.2261, allocations: 9.625 kB / 453.2 MB, free: 16.51 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.0001391/0.2263, allocations: 159 kB / 453.3 MB, free: 16.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.684e-05/0.2263, allocations: 29.48 kB / 453.3 MB, free: 16.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.922e-05/0.2264, allocations: 33.3 kB / 453.4 MB, free: 16.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2264, allocations: 2.75 kB / 453.4 MB, free: 16.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.2264, allocations: 1.375 kB / 453.4 MB, free: 16.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.2264, allocations: 0.7031 kB / 453.4 MB, free: 16.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006987/0.2271, allocations: 0.4969 MB / 453.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2271, allocations: 2.75 kB / 453.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.2275, allocations: 65.88 kB / 453.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2275, allocations: 1.375 kB / 453.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.2275, allocations: 3.312 kB / 453.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2275, allocations: 2.75 kB / 453.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2275, allocations: 4.328 kB / 454 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.228, allocations: 394.6 kB / 454.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.2281, allocations: 35.53 kB / 454.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.2281, allocations: 3.453 kB / 454.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.2283, allocations: 17.59 kB / 454.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.2284, allocations: 25.2 kB / 454.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.2284, allocations: 4.781 kB / 454.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.2286, allocations: 197.4 kB / 454.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2286, allocations: 3.828 kB / 454.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004103/0.229, allocations: 75.72 kB / 454.7 MB, free: 15.43 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 0.0001218/0.2291, allocations: 105 kB / 454.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005825/0.2297, allocations: 186.8 kB / 455 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2297, allocations: 0 / 455 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.2299, allocations: 83.19 kB / 455.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.2304, allocations: 21.42 kB / 455.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009955/0.2314, allocations: 0.5316 MB / 455.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.2315, allocations: 173 kB / 455.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.338e-05/0.2316, allocations: 15.42 kB / 455.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.2317, allocations: 24.48 kB / 455.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2317, allocations: 0 / 455.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Templates: time 0.006314/0.238, allocations: 1.513 MB / 457.3 MB, free: 14.59 MB / 366.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.111078824847937]