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.001578/0.001578, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001632/0.001632, allocations: 160.5 kB / 24.55 MB, free: 16 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.017/1.017, allocations: 177 MB / 204.8 MB, free: 5.574 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.2454/0.2454, allocations: 34.86 MB / 296.3 MB, free: 484 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.683e-06/1.683e-06, allocations: 0 / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.527e-05, allocations: 2.875 kB / 378.7 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002104/0.002129, allocations: 1.779 MB / 380.5 MB, free: 300 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000163/0.002292, allocations: 91.7 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.002336, allocations: 0 / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.591e-05/0.002382, allocations: 11.86 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.002444, allocations: 23.73 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.434e-05/0.002539, allocations: 35.89 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.002648, allocations: 115.6 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.002786, allocations: 28.05 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.002868, allocations: 67.81 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.002929, allocations: 35.89 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.002954, allocations: 12 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.002967, allocations: 12 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.002986, allocations: 19.91 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.003022, allocations: 35.92 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.003141, allocations: 83.7 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003143, allocations: 0 / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003144, allocations: 4 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.003148, allocations: 0 / 381.1 MB, free: 15.73 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.0004348/0.003583, allocations: 440.2 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.003619, allocations: 8.031 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.003663, allocations: 16.89 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.565e-05/0.003748, allocations: 124.5 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.003761, allocations: 8.375 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.003774, allocations: 8.375 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.00395, allocations: 112.2 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.003958, allocations: 192 / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.003969, allocations: 384 / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.003978, allocations: 4.359 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.32e-05/0.004042, allocations: 43.84 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.004542, allocations: 434.5 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.685e-05/0.004639, allocations: 51.05 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.004722, allocations: 35.8 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.004731, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.004751, allocations: 33.39 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.004752, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000306/0.005058, allocations: 105.4 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.005084, allocations: 55.41 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.005166, allocations: 173.9 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.005181, allocations: 29.7 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.005238, allocations: 166.6 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.005251, allocations: 23.8 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.005282, allocations: 23.38 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.005387, allocations: 496.1 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.00541, allocations: 8 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.005445, allocations: 43.05 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.577e-05/0.005501, allocations: 47.06 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005502, allocations: 0 / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001222/0.005625, allocations: 97.12 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.005638, allocations: 8 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005643, allocations: 0 / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.005784, allocations: 27.67 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-05/0.005845, allocations: 11.98 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007572/0.006602, allocations: 1.752 MB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.006636, allocations: 11.94 kB / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.006641, allocations: 4.094 kB / 385.4 MB, free: 11 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.863e-05/0.006709, allocations: 164.6 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.006726, allocations: 7.953 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.15e-05/0.006737, allocations: 8.438 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.006739, allocations: 3.938 kB / 385.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.006742, allocations: 4 kB / 385.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006745, allocations: 3.938 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.007, allocations: 348.8 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.007002, allocations: 11.97 kB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-05/0.007033, allocations: 11.98 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.624e-05/0.007099, allocations: 23.67 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.007109, allocations: 0 / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00062/0.007729, allocations: 1.756 MB / 387.8 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00773, allocations: 0 / 387.8 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.00787, allocations: 243.1 kB / 388 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-06/0.007874, allocations: 4.031 kB / 388 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-06/0.00788, allocations: 4 kB / 388 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.121e-05/0.007921, allocations: 11.92 kB / 388 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.007959, allocations: 11.98 kB / 388 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.007962, allocations: 0 / 388 MB, free: 8.184 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.763e-05/0.008, allocations: 135.2 kB / 388.2 MB, free: 8.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008, allocations: 3.938 kB / 388.2 MB, free: 8.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.008168, allocations: 27.89 kB / 388.2 MB, free: 8.02 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 7.533e-05/0.008243, allocations: 99.25 kB / 388.3 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.008468, allocations: 209.4 kB / 388.5 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008469, allocations: 0 / 388.5 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.008555, allocations: 193.4 kB / 388.7 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.008742, allocations: 12.36 kB / 388.7 MB, free: 7.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.00906, allocations: 214.1 kB / 388.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.009097, allocations: 69.52 kB / 389 MB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.152e-05/0.009119, allocations: 4 kB / 389 MB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.009146, allocations: 8.5 kB / 389 MB, free: 7.125 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009146, allocations: 0 / 389 MB, free: 7.125 MB / 362.7 MB Notification: Performance of Templates: time 0.002846/0.01199, allocations: 1.249 MB / 390.2 MB, free: 5.887 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.0276772109791636]