Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001269/0.001269, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001357/0.001357, allocations: 217.5 kB / 24.5 MB, free: 4.133 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.339/1.339, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.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.213/0.213, allocations: 46.92 MB / 361.5 MB, free: 4.191 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 71.88 kB / 0.4974 GB, free: 7.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2834, allocations: 66.08 MB / 0.5619 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002966/0.2863, allocations: 1.745 MB / 0.5636 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001569/0.2865, allocations: 83.73 kB / 0.5637 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.2865, allocations: 0 / 0.5637 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.625e-05/0.2866, allocations: 15.8 kB / 0.5637 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.993e-05/0.2867, allocations: 31.7 kB / 0.5638 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.352e-05/0.2867, allocations: 27.97 kB / 0.5638 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.2869, allocations: 107.6 kB / 0.5639 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.287, allocations: 39.95 kB / 0.5639 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.531e-05/0.2871, allocations: 35.92 kB / 0.564 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.2872, allocations: 59.75 kB / 0.564 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.2872, allocations: 15.94 kB / 0.564 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.2872, allocations: 12 kB / 0.564 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.2873, allocations: 27.92 kB / 0.5641 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.2873, allocations: 47.73 kB / 0.5641 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.2875, allocations: 122 kB / 0.5642 GB, free: 1.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2875, allocations: 0 / 0.5642 GB, free: 1.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2875, allocations: 0 / 0.5642 GB, free: 1.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2875, allocations: 0 / 0.5642 GB, free: 1.891 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006278/0.2881, allocations: 353.8 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2882, allocations: 12.03 kB / 0.5646 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.2882, allocations: 8.891 kB / 0.5646 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2883, allocations: 118.4 kB / 0.5647 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.2883, allocations: 8.375 kB / 0.5647 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.2883, allocations: 12.38 kB / 0.5647 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.2887, allocations: 118.2 kB / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2887, allocations: 192 / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.2887, allocations: 11.94 kB / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2887, allocations: 4 kB / 0.5649 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.289, allocations: 107.8 kB / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007442/0.2898, allocations: 446.5 kB / 0.5654 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.29, allocations: 86.45 kB / 0.5655 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.2902, allocations: 52.94 kB / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.2902, allocations: 11.94 kB / 0.5655 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.2903, allocations: 34.56 kB / 0.5656 GB, free: 408 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.2903, allocations: 0 / 0.5656 GB, free: 408 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007459/0.291, allocations: 194.2 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.2911, allocations: 51.41 kB / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.2912, allocations: 121.8 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.2912, allocations: 25.7 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.2913, allocations: 108.2 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.2913, allocations: 23.8 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.2914, allocations: 17.72 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2915, allocations: 322.8 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.2917, allocations: 35.97 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.2919, allocations: 58.53 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.2922, allocations: 94.44 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2922, allocations: 7.938 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004084/0.2926, allocations: 142.4 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2926, allocations: 8 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2926, allocations: 0 / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.2927, allocations: 28.78 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.2929, allocations: 23.91 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.294, allocations: 1.295 MB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.756e-05/0.2941, allocations: 20.02 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.2941, allocations: 4.141 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.189e-05/0.2942, allocations: 119.2 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.2942, allocations: 15.88 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.2943, allocations: 8.375 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.2943, allocations: 0 / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2943, allocations: 4 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2943, allocations: 0 / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006353/0.2949, allocations: 395.1 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.2949, allocations: 4 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.121e-05/0.295, allocations: 15.97 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.497e-05/0.2951, allocations: 24.84 kB / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.2951, allocations: 4 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009789/0.2961, allocations: 1.295 MB / 0.5699 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2961, allocations: 4.031 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.2965, allocations: 241.1 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.2965, allocations: 3.953 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.2966, allocations: 4 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.2967, allocations: 20.25 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.2967, allocations: 11.97 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-06/0.2967, allocations: 4 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.043e-05/0.2968, allocations: 99.14 kB / 0.5703 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2968, allocations: 0 / 0.5703 GB, free: 11.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.297, allocations: 35.83 kB / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001021/0.2971, allocations: 95.23 kB / 0.5704 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.2976, allocations: 202.6 kB / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2976, allocations: 7.938 kB / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.2979, allocations: 150.8 kB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.2982, allocations: 22.31 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.2986, allocations: 244.9 kB / 0.571 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.2989, allocations: 0.7041 MB / 0.5717 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.2989, allocations: 15.38 kB / 0.5717 GB, free: 9.625 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2989, allocations: 0 / 0.5717 GB, free: 9.625 MB / 414.1 MB Notification: Performance of Templates: time 0.003316/0.3023, allocations: 1.603 MB / 0.5732 GB, free: 8.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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: 7.010383434826508]