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.000998/0.000998, allocations: 85.91 kB / 22.21 MB, free: 2.289 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.0009974/0.0009974, allocations: 154.7 kB / 25.6 MB, free: 8.496 MB / 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 0.9538/0.9538, allocations: 177 MB / 205.9 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] 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.1579/0.1579, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 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.272e-06/1.272e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.288e-05, allocations: 3.016 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.001811/0.001834, allocations: 1.753 MB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001383/0.001973, allocations: 95.64 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.002018, allocations: 4 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.139e-05/0.002059, allocations: 11.86 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.744e-05/0.002117, allocations: 23.8 kB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.668e-05/0.002204, allocations: 27.95 kB / 381.9 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.007e-05/0.002294, allocations: 111.5 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.00241, allocations: 43.89 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.002481, allocations: 63.86 kB / 382.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.002533, allocations: 35.91 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.002554, allocations: 12 kB / 382.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.002564, allocations: 8 kB / 382.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.002585, allocations: 31.84 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.002612, allocations: 35.92 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.002713, allocations: 83.72 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002715, allocations: 0 / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002715, allocations: 0 / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.00272, allocations: 0 / 382.3 MB, free: 20.43 MB / 314.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.0003152/0.003035, allocations: 440.1 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.003067, allocations: 12.03 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.003099, allocations: 20.84 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.446e-05/0.003164, allocations: 124.4 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.003175, allocations: 8.375 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.003185, allocations: 12.38 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.003307, allocations: 94.91 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.003315, allocations: 4.188 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.003323, allocations: 384 / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.003328, allocations: 384 / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.755e-05/0.003365, allocations: 33.33 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.003726, allocations: 403.2 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.516e-05/0.003801, allocations: 55 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.003855, allocations: 31.78 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.003863, allocations: 4 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.003876, allocations: 33.39 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.003878, allocations: 0 / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002392/0.004117, allocations: 101.2 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.675e-05/0.004134, allocations: 55.41 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.58e-05/0.004179, allocations: 173.9 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-06/0.004184, allocations: 25.7 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.004219, allocations: 158.7 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.00423, allocations: 27.77 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.004255, allocations: 23.38 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.519e-05/0.004291, allocations: 496.1 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.004306, allocations: 11.98 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.004329, allocations: 35.05 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.613e-05/0.004365, allocations: 43 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.004367, allocations: 4 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.656e-05/0.004464, allocations: 93.09 kB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.004475, allocations: 6.031 kB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.00448, allocations: 4 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.004583, allocations: 23.67 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.004641, allocations: 16.3 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004638/0.005104, allocations: 1.737 MB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.005137, allocations: 7.953 kB / 386.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.005142, allocations: 0 / 386.6 MB, free: 15.81 MB / 314.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 4.695e-05/0.005189, allocations: 168.5 kB / 386.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.005206, allocations: 4 kB / 386.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.005222, allocations: 8.438 kB / 386.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005223, allocations: 4 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.005226, allocations: 0 / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005228, allocations: 0 / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.005422, allocations: 341.2 kB / 387.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.005424, allocations: 0 / 387.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.005451, allocations: 11.94 kB / 387.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.838e-05/0.005499, allocations: 23.67 kB / 387.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.005504, allocations: 4 kB / 387.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003571/0.005861, allocations: 1.725 MB / 388.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.005862, allocations: 4.125 kB / 388.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.132e-05/0.005953, allocations: 239.2 kB / 389.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.005959, allocations: 7.953 kB / 389.1 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-06/0.005965, allocations: 0 / 389.1 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/0.006006, allocations: 11.98 kB / 389.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.006034, allocations: 7.984 kB / 389.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.006038, allocations: 4 kB / 389.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.734e-05/0.006055, allocations: 131.5 kB / 389.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006055, allocations: 0 / 389.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.006219, allocations: 31.83 kB / 389.3 MB, free: 12.9 MB / 314.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 5.464e-05/0.006273, allocations: 95.25 kB / 389.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.006421, allocations: 209.4 kB / 389.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.006422, allocations: 4 kB / 389.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.00647, allocations: 181.5 kB / 389.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.006658, allocations: 20.2 kB / 389.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.006899, allocations: 223.7 kB / 390 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.261e-05/0.006922, allocations: 67.33 kB / 390.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.983e-05/0.006942, allocations: 0 / 390.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.006981, allocations: 74.2 kB / 390.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.006981, allocations: 0 / 390.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of Templates: time 0.002516/0.009498, allocations: 1.313 MB / 391.4 MB, free: 10.64 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2144025866873562]