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.001083/0.001083, allocations: 85.8 kB / 21.42 MB, free: 3.07 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.001129/0.001129, allocations: 161.3 kB / 24.82 MB, free: 9.309 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.9796/0.9796, allocations: 177 MB / 205.1 MB, free: 5.457 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.2299/0.2299, allocations: 34.86 MB / 296.6 MB, free: 0.4922 MB / 266.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.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 1.163e-06/1.163e-06, allocations: 0 / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.2e-05, allocations: 3.016 kB / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002471/0.002483, allocations: 2.481 MB / 381.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003514, allocations: 1.063 MB / 382.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.003605, allocations: 4 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007445/0.00435, allocations: 0.5172 MB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.00452, allocations: 111.1 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.00504, allocations: 446.1 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.005239, allocations: 238.9 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/0.005531, allocations: 214.7 kB / 384.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.005686, allocations: 147.7 kB / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.562e-05/0.005782, allocations: 99.7 kB / 384.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.005812, allocations: 24 kB / 384.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.006012, allocations: 143.7 kB / 384.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.81e-05/0.00604, allocations: 51.77 kB / 384.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.006088, allocations: 71.84 kB / 384.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.00643, allocations: 311 kB / 385.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.006431, allocations: 3.938 kB / 385.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.006432, allocations: 0 / 385.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.006435, allocations: 4 kB / 385.1 MB, free: 11.92 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.0006988/0.007134, allocations: 0.6442 MB / 385.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.007167, allocations: 8.031 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.00738, allocations: 84.69 kB / 385.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.00746, allocations: 144.2 kB / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.007478, allocations: 16.88 kB / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.007508, allocations: 20.38 kB / 386 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.007741, allocations: 229.6 kB / 386.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.007752, allocations: 192 / 386.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.007768, allocations: 12.38 kB / 386.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.007776, allocations: 7.938 kB / 386.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.387e-05/0.00787, allocations: 79.36 kB / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.008775, allocations: 0.8674 MB / 387.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.008949, allocations: 174 kB / 387.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.539e-05/0.009044, allocations: 83.33 kB / 387.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/0.009115, allocations: 19.98 kB / 387.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.009136, allocations: 37.39 kB / 387.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/0.009137, allocations: 0 / 387.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003865/0.009524, allocations: 219.5 kB / 387.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.009553, allocations: 85.05 kB / 387.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.009633, allocations: 189.1 kB / 388 MB, free: 8.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.009645, allocations: 29.7 kB / 388 MB, free: 8.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.009712, allocations: 199 kB / 388.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.009749, allocations: 75.34 kB / 388.3 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.009801, allocations: 51.2 kB / 388.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.009907, allocations: 0.5 MB / 388.8 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.009935, allocations: 15.98 kB / 388.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.009995, allocations: 95.31 kB / 388.9 MB, free: 7.801 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.0101, allocations: 121.7 kB / 389.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.0101, allocations: 0 / 389.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001923/0.01029, allocations: 195 kB / 389.3 MB, free: 7.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.0103, allocations: 11.94 kB / 389.3 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01031, allocations: 0 / 389.3 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.01043, allocations: 51.33 kB / 389.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/0.01052, allocations: 35.92 kB / 389.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.01267, allocations: 3.486 MB / 392.8 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.01274, allocations: 23.88 kB / 392.9 MB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.01274, allocations: 4 kB / 392.9 MB, free: 3.598 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 8.682e-05/0.01283, allocations: 160.6 kB / 393 MB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.01287, allocations: 19.95 kB / 393 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.01305, allocations: 173.6 kB / 393.2 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01306, allocations: 0 / 393.2 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01306, allocations: 7.938 kB / 393.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01306, allocations: 0 / 393.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.01351, allocations: 0.4928 MB / 393.7 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01351, allocations: 3.938 kB / 393.7 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.01358, allocations: 31.92 kB / 393.7 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.33e-05/0.01366, allocations: 51.41 kB / 393.8 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.01367, allocations: 4 kB / 393.8 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.01482, allocations: 3.482 MB / 397.3 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01482, allocations: 3.938 kB / 397.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.01538, allocations: 482 kB / 397.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.01539, allocations: 11.91 kB / 397.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.0154, allocations: 4 kB / 397.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.01548, allocations: 8 kB / 397.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.01552, allocations: 23.95 kB / 397.8 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.01553, allocations: 4 kB / 397.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.401e-05/0.01557, allocations: 143.2 kB / 397.9 MB, free: 14.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01557, allocations: 0 / 397.9 MB, free: 14.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.01584, allocations: 71.83 kB / 398 MB, free: 14.09 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.00014/0.01598, allocations: 131.1 kB / 398.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.01628, allocations: 439.5 kB / 398.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01628, allocations: 0 / 398.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.01645, allocations: 405 kB / 399 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.01667, allocations: 23.92 kB / 399 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006333/0.0173, allocations: 453.5 kB / 399.4 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.394e-05/0.01736, allocations: 80.2 kB / 399.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.238e-05/0.0174, allocations: 13.16 kB / 399.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.01746, allocations: 86.19 kB / 399.6 MB, free: 12.35 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01746, allocations: 4 kB / 399.6 MB, free: 12.35 MB / 378.7 MB Notification: Performance of Templates: time 0.004284/0.02175, allocations: 2.661 MB / 402.3 MB, free: 9.703 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7867248309776187]