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.001938/0.001938, 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.001995/0.001995, allocations: 156.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.615/1.615, allocations: 177 MB / 204.5 MB, free: 5.602 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.4007/0.4007, allocations: 34.25 MB / 295.2 MB, free: 0.6328 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.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.593e-06/1.593e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.177e-05, allocations: 3.438 kB / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003408/0.00344, allocations: 1.745 MB / 378.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002162/0.003656, allocations: 99.64 kB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.003712, allocations: 0 / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.937e-05/0.003771, allocations: 15.86 kB / 379 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.633e-05/0.003868, allocations: 15.8 kB / 379.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.003988, allocations: 27.95 kB / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.004165, allocations: 115.5 kB / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.004339, allocations: 35.89 kB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.004469, allocations: 63.88 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.004558, allocations: 39.89 kB / 379.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.004592, allocations: 12 kB / 379.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.446e-05/0.004617, allocations: 15.94 kB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.004652, allocations: 23.91 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.004709, allocations: 35.92 kB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.004924, allocations: 123.6 kB / 379.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004926, allocations: 0 / 379.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004927, allocations: 0 / 379.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.004932, allocations: 0 / 379.5 MB, free: 0.5664 MB / 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.0006706/0.005603, allocations: 439.9 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.005643, allocations: 16.02 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.005709, allocations: 20.84 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.005871, allocations: 124.4 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.005888, allocations: 8.375 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.005907, allocations: 8.375 kB / 380.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.006186, allocations: 113.9 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.006195, allocations: 192 / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.006211, allocations: 4.375 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.006218, allocations: 4.375 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.006468, allocations: 83.89 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.00732, allocations: 454.6 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.007551, allocations: 78.97 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.007762, allocations: 59.77 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.007781, allocations: 8 kB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.007815, allocations: 33.39 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.007816, allocations: 0 / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006898/0.008505, allocations: 161.2 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.008553, allocations: 55.41 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.008717, allocations: 173.9 kB / 381.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.00874, allocations: 33.69 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.008858, allocations: 166.7 kB / 381.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.00888, allocations: 19.8 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.008935, allocations: 27.38 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002698/0.009205, allocations: 0.4884 MB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.009312, allocations: 27.98 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.009433, allocations: 50.98 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.009669, allocations: 95.22 kB / 382.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009671, allocations: 0 / 382.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003423/0.01001, allocations: 133.1 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01003, allocations: 4 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01003, allocations: 4 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.01022, allocations: 27.67 kB / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.01032, allocations: 16.05 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.012, allocations: 1.795 MB / 384.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.01208, allocations: 11.95 kB / 384.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.01209, allocations: 4 kB / 384.2 MB, free: 11.49 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 0.0001491/0.01224, allocations: 164.7 kB / 384.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.01227, allocations: 7.984 kB / 384.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.01229, allocations: 8.438 kB / 384.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.01229, allocations: 4.031 kB / 384.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.0123, allocations: 4 kB / 384.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01231, allocations: 3.938 kB / 384.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006639/0.01297, allocations: 408.6 kB / 384.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.01297, allocations: 3.938 kB / 384.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/0.01304, allocations: 16.05 kB / 384.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.621e-05/0.01314, allocations: 27.67 kB / 384.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01315, allocations: 8.031 kB / 384.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.01468, allocations: 1.791 MB / 386.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01468, allocations: 0 / 386.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.0151, allocations: 283.1 kB / 386.9 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.01511, allocations: 4.141 kB / 387 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.01512, allocations: 0 / 387 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.01521, allocations: 15.95 kB / 387 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.01526, allocations: 15.97 kB / 387 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.01527, allocations: 4 kB / 387 MB, free: 8.523 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.925e-05/0.01536, allocations: 131.2 kB / 387.1 MB, free: 8.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01536, allocations: 0 / 387.1 MB, free: 8.395 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002794/0.01564, allocations: 31.89 kB / 387.1 MB, free: 8.363 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 0.0001277/0.01576, allocations: 91.23 kB / 387.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.01626, allocations: 249.5 kB / 387.5 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01627, allocations: 0 / 387.5 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.01656, allocations: 221.4 kB / 387.7 MB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.01681, allocations: 8.656 kB / 387.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.01732, allocations: 221.8 kB / 387.9 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.01743, allocations: 89.38 kB / 388 MB, free: 7.391 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.614e-05/0.01747, allocations: 7.984 kB / 388 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.0175, allocations: 8.5 kB / 388 MB, free: 7.375 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0175, allocations: 0 / 388 MB, free: 7.375 MB / 362.7 MB Notification: Performance of Templates: time 0.004682/0.02218, allocations: 1.185 MB / 389.2 MB, free: 6.195 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.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: 4.93925042799674]