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.001487/0.001487, allocations: 100.2 kB / 20.96 MB, free: 3.586 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.001586/0.001586, allocations: 160.9 kB / 24.27 MB, free: 292 kB / 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 1.638/1.638, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.4433/0.4433, allocations: 34.24 MB / 295.2 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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 2.073e-06/2.073e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.394e-05, allocations: 2.312 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00339/0.003424, allocations: 1.703 MB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002103/0.003634, allocations: 79.72 kB / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.003685, allocations: 4 kB / 379 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.131e-05/0.003737, allocations: 19.8 kB / 379 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.003811, allocations: 23.78 kB / 379 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.003934, allocations: 27.97 kB / 379 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.00411, allocations: 107.5 kB / 379.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.004298, allocations: 47.86 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.004421, allocations: 59.88 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.004499, allocations: 35.89 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.00453, allocations: 12 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.561e-05/0.004556, allocations: 12 kB / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.004592, allocations: 31.91 kB / 379.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.004652, allocations: 31.92 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.004863, allocations: 119.6 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.004867, allocations: 0 / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.004869, allocations: 0 / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.004875, allocations: 0 / 379.5 MB, free: 0.6094 MB / 346.7 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.0007098/0.005585, allocations: 337.9 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.005626, allocations: 12.03 kB / 379.8 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.794e-05/0.005694, allocations: 24.84 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.005844, allocations: 121.6 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.005861, allocations: 8.375 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.00588, allocations: 8.375 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.006267, allocations: 129.9 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.006277, allocations: 4.125 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.006294, allocations: 4.375 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.006299, allocations: 384 / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.006675, allocations: 111.8 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008166/0.007491, allocations: 383.4 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.007775, allocations: 78.52 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.008035, allocations: 68.92 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.008049, allocations: 0 / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.008086, allocations: 38.5 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.008087, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008832/0.00897, allocations: 190.3 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.009029, allocations: 63.33 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.009161, allocations: 113.8 kB / 381.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.009183, allocations: 25.7 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.009278, allocations: 115.9 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.009304, allocations: 19.8 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.009352, allocations: 21.7 kB / 381.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.009537, allocations: 322.8 kB / 381.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.009706, allocations: 39.95 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.009879, allocations: 54.48 kB / 381.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.0102, allocations: 102.4 kB / 381.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0102, allocations: 4 kB / 381.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004354/0.01063, allocations: 142.3 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.01065, allocations: 4 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01066, allocations: 0 / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.01086, allocations: 28.91 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.01099, allocations: 19.97 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.01257, allocations: 1.277 MB / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.01267, allocations: 15.97 kB / 383.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.01268, allocations: 7.922 kB / 383.3 MB, free: 12.45 MB / 362.7 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 0.0001237/0.01281, allocations: 121.9 kB / 383.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.01284, allocations: 8 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.01286, allocations: 12.42 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.01286, allocations: 0 / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.01287, allocations: 8.25 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01287, allocations: 0 / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007126/0.01359, allocations: 359.7 kB / 383.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.01359, allocations: 8.031 kB / 383.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.01368, allocations: 15.98 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-05/0.01377, allocations: 24.84 kB / 383.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.01378, allocations: 0 / 383.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.01492, allocations: 1.276 MB / 385.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01492, allocations: 0 / 385.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.01541, allocations: 245.3 kB / 385.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.01542, allocations: 7.938 kB / 385.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.01545, allocations: 11.94 kB / 385.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.01556, allocations: 7.984 kB / 385.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.01561, allocations: 7.984 kB / 385.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.01562, allocations: 8 kB / 385.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.729e-05/0.0157, allocations: 99.52 kB / 385.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0157, allocations: 4 kB / 385.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.01597, allocations: 27.89 kB / 385.6 MB, free: 10.04 MB / 362.7 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.000134/0.0161, allocations: 87.25 kB / 385.6 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005704/0.01667, allocations: 202.5 kB / 385.8 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.01667, allocations: 8.062 kB / 385.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.01696, allocations: 162.8 kB / 386 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.01735, allocations: 8.125 kB / 386 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.01792, allocations: 217.3 kB / 386.2 MB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.01804, allocations: 93.36 kB / 386.3 MB, free: 9.184 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.316e-05/0.01807, allocations: 0 / 386.3 MB, free: 9.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.01811, allocations: 12.5 kB / 386.3 MB, free: 9.172 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01811, allocations: 0 / 386.3 MB, free: 9.172 MB / 362.7 MB Notification: Performance of Templates: time 0.004461/0.02257, allocations: 1.183 MB / 387.5 MB, free: 8.004 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/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: 5.027016703039408]