Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.00235/0.00235, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002793/0.002793, allocations: 160.8 kB / 24.27 MB, free: 156 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.669/1.669, allocations: 177 MB / 204.5 MB, free: 5.605 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.3484/0.3484, allocations: 34.25 MB / 295.2 MB, free: 0.6641 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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.023e-05/4.309e-05, allocations: 8.641 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.007434/0.007477, allocations: 2.475 MB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.01129, allocations: 1.055 MB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.01152, allocations: 4 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.0141, allocations: 0.521 MB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006577/0.01476, allocations: 111.2 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.01672, allocations: 470.1 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006362/0.01735, allocations: 234.8 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007715/0.01812, allocations: 206.8 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004816/0.0186, allocations: 151.7 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.01891, allocations: 95.77 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.944e-05/0.019, allocations: 20 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006352/0.01963, allocations: 151.7 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.01973, allocations: 55.81 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.01993, allocations: 71.78 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.02105, allocations: 418.7 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.02105, allocations: 4 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.02106, allocations: 4 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.02107, allocations: 0 / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.002441/0.02351, allocations: 0.6595 MB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.02356, allocations: 8.031 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007637/0.02433, allocations: 88.69 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.02455, allocations: 128.4 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.02459, allocations: 20.81 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-05/0.02468, allocations: 28.38 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.02573, allocations: 293 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.02576, allocations: 4.172 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.02581, allocations: 12.38 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.02583, allocations: 11.94 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009443/0.02678, allocations: 205.8 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/0.02979, allocations: 0.9881 MB / 385.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/0.03064, allocations: 210 kB / 385.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006256/0.03127, allocations: 123.4 kB / 385.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.03145, allocations: 19.98 kB / 386 MB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/0.03151, allocations: 37.39 kB / 386 MB, free: 9.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 3.035e-06/0.03151, allocations: 3.938 kB / 386 MB, free: 9.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001985/0.0335, allocations: 327.8 kB / 386.3 MB, free: 9.566 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.03361, allocations: 81.11 kB / 386.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.03392, allocations: 197.9 kB / 386.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.03396, allocations: 25.83 kB / 386.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.0342, allocations: 203 kB / 386.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.03433, allocations: 75.38 kB / 386.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.0345, allocations: 51.36 kB / 386.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004562/0.03496, allocations: 0.5 MB / 387.4 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.03528, allocations: 59.83 kB / 387.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/0.03575, allocations: 141.6 kB / 387.6 MB, free: 8.152 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000815/0.03656, allocations: 208.1 kB / 387.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.03657, allocations: 0 / 387.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00117/0.03774, allocations: 268.7 kB / 388.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.03777, allocations: 8.031 kB / 388.1 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.03778, allocations: 4 kB / 388.1 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004446/0.03822, allocations: 67.27 kB / 388.2 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.03857, allocations: 31.98 kB / 388.2 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00517/0.04374, allocations: 3.641 MB / 391.9 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.04399, allocations: 23.89 kB / 391.9 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.04404, allocations: 12 kB / 391.9 MB, free: 3.602 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003215/0.04436, allocations: 188.5 kB / 392.1 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.04448, allocations: 11.95 kB / 392.1 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.04561, allocations: 245.6 kB / 392.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.04562, allocations: 0 / 392.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.04563, allocations: 4 kB / 392.3 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.04564, allocations: 3.984 kB / 392.3 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.04782, allocations: 0.6366 MB / 393 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.04782, allocations: 0 / 393 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.04814, allocations: 39.97 kB / 393 MB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003399/0.04848, allocations: 59.33 kB / 393.1 MB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.04852, allocations: 7.984 kB / 393.1 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005034/0.05355, allocations: 3.633 MB / 396.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.05356, allocations: 4.062 kB / 396.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.0551, allocations: 0.5892 MB / 397.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.05514, allocations: 15.84 kB / 397.3 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.05518, allocations: 19.92 kB / 397.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.05545, allocations: 8 kB / 397.4 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/0.05554, allocations: 19.97 kB / 397.4 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.05557, allocations: 7.938 kB / 397.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.05573, allocations: 158.7 kB / 397.5 MB, free: 13.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.05573, allocations: 0 / 397.5 MB, free: 13.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007936/0.05653, allocations: 71.83 kB / 397.6 MB, free: 13.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0003718/0.0569, allocations: 123.2 kB / 397.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.0582, allocations: 0.503 MB / 398.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.0582, allocations: 0 / 398.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007668/0.05897, allocations: 435.3 kB / 398.7 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.05959, allocations: 16.55 kB / 398.7 MB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.06097, allocations: 461.3 kB / 399.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.06118, allocations: 133.2 kB / 399.2 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.0613, allocations: 17.14 kB / 399.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.06136, allocations: 12.5 kB / 399.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.06136, allocations: 0 / 399.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of Templates: time 0.008755/0.07011, allocations: 2.428 MB / 401.7 MB, free: 9.289 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.1586194219999015]