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.0009693/0.0009693, allocations: 83.67 kB / 21.7 MB, free: 2.852 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.0009604/0.0009604, allocations: 160.2 kB / 24.99 MB, free: 9.289 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.9579/0.9579, allocations: 177 MB / 205.2 MB, free: 5.609 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.2312/0.2312, allocations: 34.86 MB / 296.6 MB, free: 0.5664 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.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.382e-06/1.382e-06, allocations: 0 / 378.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.804e-05, allocations: 3.578 kB / 378.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.001917/0.001935, allocations: 1.773 MB / 380.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001479/0.002083, allocations: 83.73 kB / 380.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.002126, allocations: 4 kB / 380.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.002169, allocations: 19.8 kB / 380.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.417e-05/0.002223, allocations: 23.78 kB / 380.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.631e-05/0.00231, allocations: 27.95 kB / 380.7 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.002414, allocations: 111.5 kB / 380.8 MB, free: 408 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.002538, allocations: 39.95 kB / 380.8 MB, free: 368 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.24e-05/0.00261, allocations: 59.89 kB / 380.9 MB, free: 308 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.002671, allocations: 39.88 kB / 380.9 MB, free: 268 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.002693, allocations: 12 kB / 380.9 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.002703, allocations: 8 kB / 380.9 MB, free: 248 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.002724, allocations: 23.92 kB / 380.9 MB, free: 224 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.00276, allocations: 43.91 kB / 381 MB, free: 180 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.002868, allocations: 75.73 kB / 381.1 MB, free: 104 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.002872, allocations: 3.984 kB / 381.1 MB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002872, allocations: 0 / 381.1 MB, free: 100 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.002879, allocations: 0 / 381.1 MB, free: 100 kB / 346.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.0003895/0.003268, allocations: 432.2 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.003303, allocations: 12.03 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.003344, allocations: 20.83 kB / 381.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.245e-05/0.003427, allocations: 124.5 kB / 381.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.003441, allocations: 8.375 kB / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.003454, allocations: 12.38 kB / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.003618, allocations: 108.3 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.003627, allocations: 4.172 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.003639, allocations: 4.375 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.003645, allocations: 384 / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.553e-05/0.003711, allocations: 35.92 kB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.004178, allocations: 434.5 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.025e-05/0.004268, allocations: 55.05 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.073e-05/0.004349, allocations: 35.73 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.004357, allocations: 4 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.004375, allocations: 33.39 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.004376, allocations: 0 / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002854/0.004661, allocations: 105.4 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.004684, allocations: 59.41 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.004756, allocations: 165.9 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.004765, allocations: 25.7 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.004845, allocations: 166.7 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.004859, allocations: 19.78 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.004888, allocations: 27.38 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.004983, allocations: 0.4884 MB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.005005, allocations: 8 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.425e-05/0.005039, allocations: 39.06 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.634e-05/0.005095, allocations: 58.98 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005097, allocations: 0 / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001052/0.005202, allocations: 85.2 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.005213, allocations: 4 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.005217, allocations: 4 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.005342, allocations: 23.67 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.763e-05/0.0054, allocations: 19.92 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007153/0.006115, allocations: 1.756 MB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.335e-05/0.006148, allocations: 11.92 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.006153, allocations: 4 kB / 385.4 MB, free: 11.37 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 6.391e-05/0.006217, allocations: 160.6 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.006234, allocations: 7.953 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.277e-06/0.006243, allocations: 8.438 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006246, allocations: 3.984 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.006248, allocations: 4.031 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.006251, allocations: 3.938 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.006514, allocations: 356.8 kB / 385.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.006516, allocations: 3.938 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.006543, allocations: 11.98 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.437e-05/0.006598, allocations: 27.67 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.006604, allocations: 0 / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006216/0.007225, allocations: 1.752 MB / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007227, allocations: 4 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.007358, allocations: 243.1 kB / 388 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-06/0.007362, allocations: 0 / 388 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-06/0.007368, allocations: 4 kB / 388 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.007411, allocations: 7.938 kB / 388 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.007447, allocations: 15.97 kB / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.00745, allocations: 0 / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.685e-05/0.007486, allocations: 135.1 kB / 388.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007486, allocations: 0 / 388.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.007655, allocations: 31.92 kB / 388.2 MB, free: 8.391 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 6.651e-05/0.007721, allocations: 95.23 kB / 388.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.007998, allocations: 205.4 kB / 388.5 MB, free: 8.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007999, allocations: 3.938 kB / 388.5 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.008083, allocations: 193.5 kB / 388.7 MB, free: 7.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.008259, allocations: 12.38 kB / 388.7 MB, free: 7.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.008548, allocations: 222 kB / 388.9 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.008583, allocations: 63.34 kB / 388.9 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.008602, allocations: 0 / 388.9 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.008625, allocations: 12.5 kB / 389 MB, free: 7.496 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008625, allocations: 4 kB / 389 MB, free: 7.492 MB / 362.7 MB Notification: Performance of Templates: time 0.002502/0.01113, allocations: 1.174 MB / 390.1 MB, free: 6.328 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: 2.795099597191438]