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.002114/0.002114, allocations: 86.09 kB / 20.68 MB, free: 1.035 MB / 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.002679/0.002679, allocations: 157.1 kB / 23.95 MB, free: 4.168 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.521/1.521, allocations: 177 MB / 204.1 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.2372/0.2372, allocations: 34.25 MB / 294.8 MB, free: 14.56 MB / 286.1 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 6.122e-06/6.122e-06, allocations: 4 kB / 442.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/3.217e-05, allocations: 2.281 kB / 442.6 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.00452/0.004552, allocations: 2.518 MB / 445.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.006376, allocations: 0.7554 MB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.006612, allocations: 4 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.006929, allocations: 75.31 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.007284, allocations: 111.1 kB / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.007748, allocations: 111.8 kB / 446.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006212/0.008369, allocations: 426.3 kB / 446.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.008707, allocations: 103.8 kB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004237/0.009131, allocations: 235.5 kB / 447 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.009379, allocations: 119.6 kB / 447.1 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.499e-05/0.009464, allocations: 32 kB / 447.1 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.874e-05/0.009533, allocations: 32 kB / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.00964, allocations: 83.67 kB / 447.2 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.009798, allocations: 119.7 kB / 447.3 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.01036, allocations: 430.6 kB / 447.8 MB, free: 212 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.01037, allocations: 0 / 447.8 MB, free: 212 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01037, allocations: 0 / 447.8 MB, free: 212 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.01038, allocations: 0 / 447.8 MB, free: 212 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.225/0.2354, allocations: 0.5982 MB / 448.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2355, allocations: 10.48 kB / 448.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.2355, allocations: 48.69 kB / 448.4 MB, free: 19.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.2359, allocations: 221.2 kB / 448.6 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.2359, allocations: 25.55 kB / 448.6 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.236, allocations: 33.47 kB / 448.7 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006391/0.2366, allocations: 360.1 kB / 449 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2366, allocations: 0 / 449 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.2366, allocations: 19.38 kB / 449.1 MB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.2367, allocations: 19.75 kB / 449.1 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006204/0.2373, allocations: 256.4 kB / 449.3 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.239, allocations: 1.161 MB / 450.5 MB, free: 18.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.2395, allocations: 191.3 kB / 450.7 MB, free: 18.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.2397, allocations: 82.27 kB / 450.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.2397, allocations: 4 kB / 450.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.2397, allocations: 44.94 kB / 450.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2397, allocations: 0 / 450.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007967/0.2405, allocations: 245.9 kB / 451 MB, free: 17.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2405, allocations: 136.4 kB / 451.2 MB, free: 17.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.2408, allocations: 298.2 kB / 451.5 MB, free: 17.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.2408, allocations: 25.7 kB / 451.5 MB, free: 17.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2409, allocations: 256.9 kB / 451.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.241, allocations: 55.48 kB / 451.8 MB, free: 17.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.2411, allocations: 54.69 kB / 451.8 MB, free: 17.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.2411, allocations: 336 kB / 452.2 MB, free: 16.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.2413, allocations: 82.83 kB / 452.3 MB, free: 16.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.2416, allocations: 166.1 kB / 452.4 MB, free: 16.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.2421, allocations: 257.2 kB / 452.7 MB, free: 16.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2421, allocations: 0 / 452.7 MB, free: 16.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006456/0.2427, allocations: 300.1 kB / 453 MB, free: 16.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2428, allocations: 10.09 kB / 453 MB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.2428, allocations: 7.078 kB / 453 MB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.2428, allocations: 4.125 kB / 453 MB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.2432, allocations: 91.86 kB / 453.1 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.567e-06/0.2432, allocations: 4.922 kB / 453.1 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.2435, allocations: 44.36 kB / 453.1 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.2435, allocations: 11 kB / 453.1 MB, free: 16.48 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.0001112/0.2436, allocations: 154.4 kB / 453.3 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.575e-05/0.2437, allocations: 28.17 kB / 453.3 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/0.2438, allocations: 30.3 kB / 453.3 MB, free: 16.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2438, allocations: 3.344 kB / 453.3 MB, free: 16.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2438, allocations: 1.375 kB / 453.3 MB, free: 16.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2438, allocations: 4.422 kB / 453.3 MB, free: 16.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.2444, allocations: 0.5005 MB / 453.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2444, allocations: 6.656 kB / 453.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.2447, allocations: 55.75 kB / 453.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2447, allocations: 4.438 kB / 453.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2447, allocations: 6.562 kB / 453.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2447, allocations: 2.5 kB / 453.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2448, allocations: 3.234 kB / 453.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.2453, allocations: 393.2 kB / 454.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.2453, allocations: 29.64 kB / 454.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.2454, allocations: 8.594 kB / 454.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.2456, allocations: 12.42 kB / 454.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.2457, allocations: 22.78 kB / 454.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2457, allocations: 4.875 kB / 454.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.2459, allocations: 205.2 kB / 454.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2459, allocations: 0 / 454.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004369/0.2463, allocations: 84.09 kB / 454.7 MB, free: 15.4 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.0001055/0.2464, allocations: 96.31 kB / 454.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005666/0.247, allocations: 187.5 kB / 454.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.247, allocations: 0.5 kB / 454.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.2472, allocations: 84.27 kB / 455 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.2477, allocations: 23.94 kB / 455.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.2487, allocations: 0.5344 MB / 455.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.2489, allocations: 173.2 kB / 455.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.249, allocations: 21.05 kB / 455.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.2491, allocations: 18.34 kB / 455.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2491, allocations: 4 kB / 455.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Templates: time 0.005903/0.255, allocations: 1.501 MB / 457.3 MB, free: 14.56 MB / 366.1 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: 5.182639092206955]