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.001683/0.001683, allocations: 88.52 kB / 20.68 MB, free: 1.02 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.001972/0.001972, allocations: 162 kB / 23.96 MB, free: 4.141 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.536/1.536, allocations: 177 MB / 204.1 MB, free: 9.16 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.2302/0.2302, allocations: 34.26 MB / 294.8 MB, free: 14.51 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 1.533e-06/1.533e-06, allocations: 0 / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.736e-05, allocations: 6.281 kB / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002855/0.002882, allocations: 1.696 MB / 444.3 MB, free: 3.609 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001862/0.003068, allocations: 87.72 kB / 444.4 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.003127, allocations: 3.938 kB / 444.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.212e-05/0.003189, allocations: 15.86 kB / 444.4 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.003266, allocations: 23.72 kB / 444.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.003387, allocations: 31.95 kB / 444.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.003551, allocations: 107.6 kB / 444.6 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.003745, allocations: 31.97 kB / 444.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.003858, allocations: 67.88 kB / 444.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/0.003933, allocations: 35.89 kB / 444.7 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.003976, allocations: 16 kB / 444.7 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.003995, allocations: 8 kB / 444.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.004031, allocations: 23.92 kB / 444.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.004098, allocations: 39.89 kB / 444.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.004284, allocations: 123.6 kB / 444.9 MB, free: 3.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004287, allocations: 0 / 444.9 MB, free: 3.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004287, allocations: 4 kB / 444.9 MB, free: 3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.004298, allocations: 0 / 444.9 MB, free: 3 MB / 366.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.0007038/0.005002, allocations: 345.9 kB / 445.3 MB, free: 2.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.005041, allocations: 8.031 kB / 445.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.005084, allocations: 16.83 kB / 445.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.005223, allocations: 113.7 kB / 445.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.005239, allocations: 8.375 kB / 445.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.00526, allocations: 4.375 kB / 445.4 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.005641, allocations: 134 kB / 445.6 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.005652, allocations: 192 / 445.6 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.005669, allocations: 4.375 kB / 445.6 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.005677, allocations: 8.375 kB / 445.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.006063, allocations: 103.8 kB / 445.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.006829, allocations: 387.3 kB / 446.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.007118, allocations: 78.53 kB / 446.1 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.007371, allocations: 56.94 kB / 446.2 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.007397, allocations: 7.938 kB / 446.2 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.007427, allocations: 30.56 kB / 446.2 MB, free: 1.598 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.007428, allocations: 0 / 446.2 MB, free: 1.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008384/0.008266, allocations: 190.3 kB / 446.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.008308, allocations: 59.34 kB / 446.5 MB, free: 1.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.008412, allocations: 117.8 kB / 446.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.00843, allocations: 25.7 kB / 446.6 MB, free: 1.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.008502, allocations: 111.9 kB / 446.7 MB, free: 1.062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.008528, allocations: 23.84 kB / 446.7 MB, free: 1.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.008569, allocations: 21.72 kB / 446.8 MB, free: 1.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.008708, allocations: 318.8 kB / 447.1 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.008876, allocations: 35.97 kB / 447.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.009056, allocations: 62.5 kB / 447.2 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.009399, allocations: 106.7 kB / 447.3 MB, free: 484 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.009403, allocations: 4.375 kB / 447.3 MB, free: 480 kB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004373/0.00984, allocations: 142.3 kB / 447.4 MB, free: 328 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.009859, allocations: 8 kB / 447.4 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.009864, allocations: 4.062 kB / 447.4 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.01001, allocations: 28.78 kB / 447.5 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.01014, allocations: 15.98 kB / 447.5 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2388/0.2489, allocations: 1.265 MB / 448.7 MB, free: 17.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.249, allocations: 12.83 kB / 448.7 MB, free: 17.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.249, allocations: 2.062 kB / 448.8 MB, free: 17.92 MB / 366.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 0.0001004/0.2491, allocations: 126.2 kB / 448.9 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.2492, allocations: 6.203 kB / 448.9 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.2492, allocations: 13.69 kB / 448.9 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2492, allocations: 2.094 kB / 448.9 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2492, allocations: 1 kB / 448.9 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2492, allocations: 0 / 448.9 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006465/0.2498, allocations: 356.1 kB / 449.2 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2498, allocations: 2.906 kB / 449.2 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.864e-05/0.2499, allocations: 21.22 kB / 449.3 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.054e-05/0.25, allocations: 29.16 kB / 449.3 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2501, allocations: 5.719 kB / 449.3 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000642/0.2507, allocations: 1.27 MB / 450.6 MB, free: 16.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2507, allocations: 1.922 kB / 450.6 MB, free: 16.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.2512, allocations: 240.2 kB / 450.8 MB, free: 16.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.2512, allocations: 7.938 kB / 450.8 MB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.2512, allocations: 6.188 kB / 450.8 MB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.2513, allocations: 11.33 kB / 450.8 MB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.2514, allocations: 14.33 kB / 450.8 MB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2514, allocations: 6.094 kB / 450.9 MB, free: 16.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.038e-05/0.2514, allocations: 89.06 kB / 450.9 MB, free: 16.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2514, allocations: 1.156 kB / 450.9 MB, free: 16.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.2517, allocations: 25.88 kB / 451 MB, free: 16.09 MB / 366.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.0001143/0.2518, allocations: 101 kB / 451.1 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005935/0.2524, allocations: 198.4 kB / 451.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2524, allocations: 0 / 451.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.2527, allocations: 162.1 kB / 451.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.253, allocations: 9.328 kB / 451.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.2536, allocations: 210.2 kB / 451.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.205e-05/0.2537, allocations: 83.52 kB / 451.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.2537, allocations: 6.656 kB / 451.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.2537, allocations: 11.19 kB / 451.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2537, allocations: 0 / 451.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of Templates: time 0.00495/0.2587, allocations: 1.173 MB / 452.9 MB, free: 15.38 MB / 366.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/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.174179658293724]