Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001374/0.001374, allocations: 84.11 kB / 21.99 MB, free: 4.746 MB / 14.72 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.001404/0.001404, allocations: 157.4 kB / 25.25 MB, free: 2.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 158.6 MB / 187 MB, free: 6.363 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 58.73 kB / 299.4 MB, free: 6.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2013, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003745/0.2051, allocations: 2.234 MB / 350.7 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2062, allocations: 0.6003 MB / 351.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.2064, allocations: 7.938 kB / 351.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.2066, allocations: 31.66 kB / 351.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.2068, allocations: 87.27 kB / 351.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.207, allocations: 51.94 kB / 351.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.2073, allocations: 274.7 kB / 351.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.2075, allocations: 75.28 kB / 351.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.2077, allocations: 107.6 kB / 352 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.2078, allocations: 103.4 kB / 352.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.2079, allocations: 24 kB / 352.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.334e-05/0.2079, allocations: 24 kB / 352.1 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.208, allocations: 43.84 kB / 352.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2081, allocations: 103.5 kB / 352.2 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.2084, allocations: 265.5 kB / 352.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2084, allocations: 0 / 352.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2084, allocations: 0 / 352.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.2084, allocations: 0 / 352.5 MB, free: 11.5 MB / 318.1 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.0007688/0.2092, allocations: 465.5 kB / 353 MB, free: 11.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2092, allocations: 19.97 kB / 353 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.2093, allocations: 28.75 kB / 353 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.2096, allocations: 178.8 kB / 353.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2097, allocations: 16.88 kB / 353.2 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.2097, allocations: 28.33 kB / 353.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.2101, allocations: 208.3 kB / 353.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.2101, allocations: 0 / 353.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.2101, allocations: 12 kB / 353.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2101, allocations: 4 kB / 353.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.2104, allocations: 141.9 kB / 353.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/0.2113, allocations: 0.4905 MB / 354.1 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.2117, allocations: 166.6 kB / 354.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.2118, allocations: 88.81 kB / 354.3 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.2119, allocations: 4 kB / 354.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.2119, allocations: 30.56 kB / 354.4 MB, free: 9.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 3.316e-06/0.2119, allocations: 7.938 kB / 354.4 MB, free: 9.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001936/0.2138, allocations: 0.9147 MB / 355.3 MB, free: 8.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.2139, allocations: 55.41 kB / 355.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.214, allocations: 170.7 kB / 355.5 MB, free: 8.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.2141, allocations: 29.7 kB / 355.5 MB, free: 8.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2142, allocations: 148.8 kB / 355.7 MB, free: 8.133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.713e-05/0.2143, allocations: 122.9 kB / 355.8 MB, free: 8.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.2143, allocations: 49.7 kB / 355.8 MB, free: 7.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2145, allocations: 334.8 kB / 356.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.2146, allocations: 67.97 kB / 356.2 MB, free: 7.555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.2148, allocations: 107.2 kB / 356.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.2152, allocations: 196.1 kB / 356.5 MB, free: 7.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2152, allocations: 0 / 356.5 MB, free: 7.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005388/0.2157, allocations: 298 kB / 356.8 MB, free: 6.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2157, allocations: 8 kB / 356.8 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2157, allocations: 0 / 356.8 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.2159, allocations: 40.83 kB / 356.9 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.2161, allocations: 59.91 kB / 356.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.2177, allocations: 1.61 MB / 358.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.2178, allocations: 8.031 kB / 358.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.2179, allocations: 12 kB / 358.6 MB, free: 5.105 MB / 318.1 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 0.0001424/0.218, allocations: 142 kB / 358.7 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.2181, allocations: 19.86 kB / 358.7 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.145e-05/0.2181, allocations: 38.58 kB / 358.8 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.2181, allocations: 4 kB / 358.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2181, allocations: 4.062 kB / 358.8 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2181, allocations: 0 / 358.8 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.2193, allocations: 0.6721 MB / 359.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2193, allocations: 0 / 359.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.2195, allocations: 63.91 kB / 359.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.2197, allocations: 40.86 kB / 359.5 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.2197, allocations: 11.94 kB / 359.5 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.2209, allocations: 1.355 MB / 360.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2209, allocations: 3.938 kB / 360.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.2217, allocations: 494.3 kB / 361.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.2217, allocations: 19.92 kB / 361.4 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.2218, allocations: 12.03 kB / 361.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.2219, allocations: 11.94 kB / 361.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.222, allocations: 23.95 kB / 361.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.222, allocations: 12 kB / 361.5 MB, free: 1.984 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.709e-05/0.2221, allocations: 116.2 kB / 361.6 MB, free: 1.871 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2221, allocations: 0 / 361.6 MB, free: 1.871 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.2225, allocations: 68 kB / 361.6 MB, free: 1.805 MB / 318.1 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 0.0001083/0.2226, allocations: 103.2 kB / 361.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006271/0.2232, allocations: 334.5 kB / 362.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2232, allocations: 0 / 362.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.2236, allocations: 230.7 kB / 362.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.224, allocations: 44.22 kB / 362.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.2253, allocations: 0.7303 MB / 363.1 MB, free: 316 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.2254, allocations: 146.4 kB / 363.2 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.367e-05/0.2255, allocations: 26.28 kB / 363.2 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.2256, allocations: 20.5 kB / 363.3 MB, free: 100 kB / 318.1 MB Notification: Performance of SimCode: time 9.41e-07/0.2256, allocations: 0 / 363.3 MB, free: 100 kB / 318.1 MB Notification: Performance of Templates: time 0.006838/0.2324, allocations: 2.647 MB / 365.9 MB, free: 13.45 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.222792185959406]