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.0009423/0.0009423, allocations: 99.5 kB / 21.2 MB, free: 3.359 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.0009115/0.0009115, allocations: 160.5 kB / 24.55 MB, free: 4 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 0.9471/0.9471, allocations: 177 MB / 204.8 MB, free: 5.562 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.2647/0.2647, allocations: 34.86 MB / 296.3 MB, free: 492 kB / 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.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.763e-06/1.763e-06, allocations: 0 / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.363e-05, allocations: 4.703 kB / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.005468/0.005492, allocations: 1.762 MB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001668/0.005659, allocations: 83.72 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.005706, allocations: 8 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.336e-05/0.005759, allocations: 19.8 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.001e-05/0.005829, allocations: 27.72 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.005929, allocations: 23.97 kB / 380.7 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.006054, allocations: 107.6 kB / 380.8 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.006194, allocations: 39.97 kB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.006301, allocations: 59.95 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.006368, allocations: 35.91 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.006393, allocations: 12 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.006408, allocations: 8 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.006435, allocations: 31.83 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.006478, allocations: 39.91 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.006609, allocations: 79.72 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006611, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.006612, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.006616, allocations: 0 / 381.1 MB, free: 15.75 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004463/0.007062, allocations: 436.2 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.007101, allocations: 12.03 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.007146, allocations: 16.89 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.009063, allocations: 128.4 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.009076, allocations: 8.375 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.009097, allocations: 8.375 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.009318, allocations: 108.2 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.00933, allocations: 4.125 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.009346, allocations: 8.375 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.009355, allocations: 384 / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.287e-05/0.009438, allocations: 35.92 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.01004, allocations: 430.5 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.01016, allocations: 55.05 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.01024, allocations: 31.8 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.01025, allocations: 4 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.01027, allocations: 41.31 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.01028, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003069/0.01058, allocations: 105.5 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.01061, allocations: 59.28 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.01069, allocations: 173.9 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.0107, allocations: 25.7 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.01077, allocations: 166.7 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.01078, allocations: 15.8 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.01081, allocations: 31.36 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.01099, allocations: 496.1 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.01102, allocations: 12.05 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.01105, allocations: 35.06 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.01112, allocations: 51 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01112, allocations: 0 / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001195/0.01124, allocations: 93.19 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01125, allocations: 4 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01126, allocations: 4 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.01141, allocations: 19.67 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.01147, allocations: 19.98 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007575/0.01223, allocations: 1.756 MB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.01226, allocations: 11.92 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.01227, allocations: 4 kB / 385.4 MB, free: 11.02 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 7.313e-05/0.01234, allocations: 164.5 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.01236, allocations: 7.953 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.175e-05/0.01237, allocations: 8.438 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.01237, allocations: 0 / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01237, allocations: 4.031 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01238, allocations: 3.938 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.01265, allocations: 360.8 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.01265, allocations: 3.938 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.01268, allocations: 8 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.247e-05/0.01275, allocations: 27.67 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.01276, allocations: 0 / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000709/0.01347, allocations: 1.756 MB / 387.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.01348, allocations: 4 kB / 387.8 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.01362, allocations: 239.1 kB / 388 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.01362, allocations: 0 / 388 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.01363, allocations: 7.984 kB / 388 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.084e-05/0.01367, allocations: 7.938 kB / 388 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.01371, allocations: 11.92 kB / 388 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.01372, allocations: 4 kB / 388 MB, free: 8.199 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.797e-05/0.01376, allocations: 135.1 kB / 388.2 MB, free: 8.066 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01376, allocations: 4.031 kB / 388.2 MB, free: 8.062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.01394, allocations: 31.89 kB / 388.2 MB, free: 8.031 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 8.154e-05/0.01402, allocations: 87.25 kB / 388.3 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.01425, allocations: 209.5 kB / 388.5 MB, free: 7.711 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01425, allocations: 0 / 388.5 MB, free: 7.711 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.822e-05/0.01434, allocations: 197.4 kB / 388.7 MB, free: 7.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.01453, allocations: 8.562 kB / 388.7 MB, free: 7.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.01489, allocations: 217.9 kB / 388.9 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.01494, allocations: 69.47 kB / 389 MB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.975e-05/0.01497, allocations: 0 / 389 MB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.015, allocations: 20.5 kB / 389 MB, free: 7.137 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.015, allocations: 0 / 389 MB, free: 7.137 MB / 362.7 MB Notification: Performance of Templates: time 0.003325/0.01833, allocations: 1.171 MB / 390.2 MB, free: 5.977 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=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.0518571427091956]