Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 161.5 kB / 24.99 MB, free: 8.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.923/0.923, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.62e-07/7.62e-07, allocations: 0 / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.035e-06/8.797e-06, allocations: 2.312 kB / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.00221/0.002219, allocations: 2.394 MB / 275.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008632/0.003082, allocations: 0.6309 MB / 276.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.003161, allocations: 4 kB / 276.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.639e-05/0.003237, allocations: 43.53 kB / 276.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.003342, allocations: 87.27 kB / 276.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.003485, allocations: 63.84 kB / 276.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.00368, allocations: 286.5 kB / 276.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.003789, allocations: 71.3 kB / 276.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.003949, allocations: 167.5 kB / 276.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.108e-05/0.00403, allocations: 83.72 kB / 276.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.004052, allocations: 20 kB / 276.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.851e-05/0.00409, allocations: 32 kB / 276.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.004117, allocations: 55.75 kB / 277 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.004172, allocations: 83.81 kB / 277.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.004335, allocations: 175.3 kB / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.004337, allocations: 0 / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004337, allocations: 4 kB / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.105e-06/0.00434, allocations: 0 / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004214/0.004762, allocations: 0.5506 MB / 277.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.004792, allocations: 12.03 kB / 277.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.004911, allocations: 52.75 kB / 277.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.005109, allocations: 192.9 kB / 278 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.00512, allocations: 12.88 kB / 278 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.005153, allocations: 28.33 kB / 278.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.005352, allocations: 161.4 kB / 278.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.005366, allocations: 192 / 278.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.005384, allocations: 12.38 kB / 278.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.005394, allocations: 7.938 kB / 278.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.005521, allocations: 90.86 kB / 278.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.006212, allocations: 0.5483 MB / 278.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.006376, allocations: 131 kB / 279 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.006459, allocations: 67.69 kB / 279.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.00647, allocations: 4 kB / 279.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.006488, allocations: 41.39 kB / 279.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.152e-06/0.006489, allocations: 3.938 kB / 279.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009754/0.007464, allocations: 0.7934 MB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.007489, allocations: 55.41 kB / 280 MB, free: 10.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.007607, allocations: 225.9 kB / 280.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.007622, allocations: 29.7 kB / 280.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.007685, allocations: 187.5 kB / 280.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.007743, allocations: 119 kB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.007799, allocations: 59.36 kB / 280.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.007913, allocations: 0.5078 MB / 281.1 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.007973, allocations: 39.97 kB / 281.1 MB, free: 9.484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.482e-05/0.008058, allocations: 83.05 kB / 281.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.008222, allocations: 140.6 kB / 281.3 MB, free: 9.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.008224, allocations: 0 / 281.3 MB, free: 9.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002759/0.008499, allocations: 242 kB / 281.6 MB, free: 8.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.008511, allocations: 7.938 kB / 281.6 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.008514, allocations: 64 / 281.6 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001119/0.008626, allocations: 47.66 kB / 281.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.008763, allocations: 55.91 kB / 281.7 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.009778, allocations: 2.122 MB / 283.8 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.009839, allocations: 8.031 kB / 283.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.00985, allocations: 16 kB / 283.8 MB, free: 6.621 MB / 266.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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.186e-05/0.009932, allocations: 168.5 kB / 284 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.009967, allocations: 31.86 kB / 284 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.009993, allocations: 30.64 kB / 284.1 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.009995, allocations: 4 kB / 284.1 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.01, allocations: 7.938 kB / 284.1 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01, allocations: 0 / 284.1 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006372/0.01064, allocations: 0.6707 MB / 284.7 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01064, allocations: 4 kB / 284.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.01079, allocations: 55.91 kB / 284.8 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.149e-05/0.01086, allocations: 39.64 kB / 284.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01087, allocations: 8 kB / 284.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000783/0.01165, allocations: 1.811 MB / 286.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.01166, allocations: 7.938 kB / 286.7 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.01206, allocations: 450.9 kB / 287.1 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.01207, allocations: 19.91 kB / 287.1 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.01209, allocations: 7.984 kB / 287.1 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.01216, allocations: 8 kB / 287.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.01219, allocations: 35.86 kB / 287.2 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.0122, allocations: 8 kB / 287.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.104e-05/0.01227, allocations: 156.4 kB / 287.3 MB, free: 2.879 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01227, allocations: 4 kB / 287.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.01251, allocations: 68 kB / 287.4 MB, free: 2.809 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.949e-05/0.01258, allocations: 95.25 kB / 287.5 MB, free: 2.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.01291, allocations: 361.8 kB / 287.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01291, allocations: 0 / 287.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.0131, allocations: 282.1 kB / 288.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.01334, allocations: 36.16 kB / 288.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/0.01417, allocations: 0.6391 MB / 288.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.537e-05/0.01422, allocations: 88.92 kB / 288.9 MB, free: 1.207 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.824e-05/0.01428, allocations: 18.3 kB / 288.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.01432, allocations: 24.48 kB / 288.9 MB, free: 1.164 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01432, allocations: 0 / 288.9 MB, free: 1.164 MB / 266.7 MB Notification: Performance of Templates: time 0.004194/0.01851, allocations: 2.719 MB / 291.7 MB, free: 14.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.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.7164210451301187]