Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001911/0.001911, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.002629/0.002629, allocations: 167.9 kB / 23.96 MB, free: 4.148 MB / 14.72 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 1.562/1.562, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2259/0.2259, allocations: 34.29 MB / 295 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.6e-05/3.845e-05, allocations: 2.281 kB / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00821/0.008249, allocations: 3.017 MB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.01081, allocations: 0.8138 MB / 446.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004273/0.01123, allocations: 15.88 kB / 446.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.01161, allocations: 75.19 kB / 446.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008536/0.01247, allocations: 186.4 kB / 446.8 MB, free: 1.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.01297, allocations: 107.8 kB / 446.9 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.01403, allocations: 0.6218 MB / 447.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.01441, allocations: 109.9 kB / 447.6 MB, free: 444 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005984/0.015, allocations: 351.2 kB / 447.9 MB, free: 92 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1986/0.2136, allocations: 172.9 kB / 448.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.2138, allocations: 41.97 kB / 448.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.214, allocations: 44.78 kB / 448.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.2141, allocations: 101.2 kB / 448.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.2144, allocations: 188.9 kB / 448.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007283/0.2151, allocations: 0.566 MB / 449 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2151, allocations: 0 / 449 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2151, allocations: 1.125 kB / 449 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.2151, allocations: 0 / 449 MB, free: 15.64 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001015/0.2161, allocations: 0.6956 MB / 449.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2162, allocations: 10.14 kB / 449.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.2163, allocations: 55.89 kB / 449.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.2166, allocations: 252.3 kB / 450 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.2166, allocations: 35.44 kB / 450.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/0.2167, allocations: 59.83 kB / 450.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/0.2173, allocations: 434.2 kB / 450.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.2174, allocations: 11.58 kB / 450.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.2174, allocations: 20.12 kB / 450.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.2174, allocations: 19.55 kB / 450.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.2179, allocations: 306.5 kB / 450.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.2192, allocations: 0.9391 MB / 451.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/0.2199, allocations: 384.6 kB / 452.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.2201, allocations: 194.4 kB / 452.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.2201, allocations: 7.156 kB / 452.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.2202, allocations: 39.53 kB / 452.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 1.864e-06/0.2202, allocations: 0 / 452.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.002469/0.2226, allocations: 1.845 MB / 454.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.2227, allocations: 85.61 kB / 454.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.2229, allocations: 240.2 kB / 454.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.2229, allocations: 39.58 kB / 454.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.223, allocations: 212.4 kB / 454.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.2231, allocations: 281 kB / 455.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.2232, allocations: 124.1 kB / 455.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.2233, allocations: 352.3 kB / 455.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.2235, allocations: 159.8 kB / 455.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.2238, allocations: 275.9 kB / 456 MB, free: 11.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/0.2244, allocations: 474.8 kB / 456.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2244, allocations: 1.344 kB / 456.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007264/0.2251, allocations: 0.5679 MB / 457.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2251, allocations: 6.062 kB / 457.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2251, allocations: 6.969 kB / 457.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.2251, allocations: 10.72 kB / 457.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.2257, allocations: 178.9 kB / 457.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.2257, allocations: 8.719 kB / 457.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.226, allocations: 23.67 kB / 457.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.226, allocations: 28 kB / 457.3 MB, free: 11.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.2262, allocations: 181.8 kB / 457.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/0.2263, allocations: 50.94 kB / 457.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.21e-05/0.2263, allocations: 56.58 kB / 457.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2263, allocations: 11.47 kB / 457.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.2264, allocations: 1.156 kB / 457.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.2264, allocations: 3.984 kB / 457.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.228, allocations: 1.286 MB / 458.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.228, allocations: 2.938 kB / 458.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008163/0.2288, allocations: 165.6 kB / 459.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.2288, allocations: 5.531 kB / 459.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.2288, allocations: 16.95 kB / 459.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.2288, allocations: 5.734 kB / 459.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.2288, allocations: 8.891 kB / 459.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/0.2298, allocations: 0.9047 MB / 460 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.2298, allocations: 40.64 kB / 460.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.2299, allocations: 19.31 kB / 460.1 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.2302, allocations: 21.67 kB / 460.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.2303, allocations: 53.44 kB / 460.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.2303, allocations: 21.61 kB / 460.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.2304, allocations: 165.6 kB / 460.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2304, allocations: 0 / 460.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005502/0.231, allocations: 143.8 kB / 460.5 MB, free: 9.652 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.2311, allocations: 129 kB / 460.6 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007438/0.2318, allocations: 434.4 kB / 461 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2318, allocations: 4.75 kB / 461 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.2321, allocations: 220.1 kB / 461.2 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008804/0.233, allocations: 132.4 kB / 461.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.235, allocations: 1.376 MB / 462.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.2352, allocations: 246.1 kB / 463 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.2354, allocations: 56.36 kB / 463 MB, free: 8.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.2355, allocations: 42.06 kB / 463.1 MB, free: 8.277 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2355, allocations: 0 / 463.1 MB, free: 8.277 MB / 366.1 MB Notification: Performance of Templates: time 0.01153/0.2471, allocations: 5.32 MB / 468.4 MB, free: 7.559 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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: 5.3647779412567616]