Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001458/0.001458, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001522/0.001522, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.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.253/0.253, allocations: 46.95 MB / 361.6 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 179] 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.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.89 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3079, allocations: 66.03 MB / 0.5618 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004184/0.3121, allocations: 2.818 MB / 0.5646 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.3128, allocations: 414.5 kB / 0.565 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.313, allocations: 11.94 kB / 0.565 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.3131, allocations: 63.31 kB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.3134, allocations: 170.5 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.3136, allocations: 103.9 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005193/0.3142, allocations: 0.5364 MB / 0.5658 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.3144, allocations: 117.2 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.3146, allocations: 215.3 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.3149, allocations: 215 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.026e-05/0.315, allocations: 40 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.999e-05/0.315, allocations: 40 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.224e-05/0.3151, allocations: 99.62 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.3153, allocations: 207.1 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005718/0.3159, allocations: 0.5316 MB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3159, allocations: 0 / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3159, allocations: 0 / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.3159, allocations: 0 / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001028/0.317, allocations: 0.6571 MB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.317, allocations: 8.031 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.549e-05/0.3171, allocations: 56.61 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.3174, allocations: 225.8 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.3175, allocations: 29.38 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.3175, allocations: 60.33 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.3183, allocations: 458.7 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.239e-05/0.3183, allocations: 12.08 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.3184, allocations: 31.92 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.3184, allocations: 15.94 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.3188, allocations: 251.7 kB / 0.569 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.321, allocations: 1.508 MB / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.3216, allocations: 399.9 kB / 0.5708 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.3218, allocations: 143.7 kB / 0.571 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3218, allocations: 19.92 kB / 0.571 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.3219, allocations: 46.55 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.404e-06/0.3219, allocations: 3.938 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007585/0.3226, allocations: 353.3 kB / 0.5714 GB, free: 10.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.3228, allocations: 265 kB / 0.5716 GB, free: 9.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.3231, allocations: 254.4 kB / 0.5719 GB, free: 9.559 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.3231, allocations: 37.7 kB / 0.5719 GB, free: 9.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.3232, allocations: 244.2 kB / 0.5721 GB, free: 9.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.3234, allocations: 194.4 kB / 0.5723 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.3235, allocations: 114.6 kB / 0.5724 GB, free: 8.965 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3237, allocations: 346.8 kB / 0.5728 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.3239, allocations: 121.9 kB / 0.5729 GB, free: 8.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.3244, allocations: 413.6 kB / 0.5733 GB, free: 7.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.3251, allocations: 0.5693 MB / 0.5738 GB, free: 7.246 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.3251, allocations: 4 kB / 0.5738 GB, free: 7.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009014/0.326, allocations: 0.5672 MB / 0.5744 GB, free: 6.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.326, allocations: 8 kB / 0.5744 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.326, allocations: 12 kB / 0.5744 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.3261, allocations: 12.75 kB / 0.5744 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.3267, allocations: 179.7 kB / 0.5746 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/0.3267, allocations: 23.92 kB / 0.5746 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.327, allocations: 72.08 kB / 0.5747 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.327, allocations: 32 kB / 0.5747 GB, free: 6.336 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0002293/0.3273, allocations: 185.5 kB / 0.5749 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.3275, allocations: 35.81 kB / 0.5749 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.778e-05/0.3276, allocations: 41.7 kB / 0.575 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3276, allocations: 3.984 kB / 0.575 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3276, allocations: 4 kB / 0.575 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.3276, allocations: 47.56 kB / 0.575 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.3277, allocations: 16 kB / 0.575 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.3281, allocations: 8 kB / 0.575 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.3282, allocations: 31.94 kB / 0.5751 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001474/0.3297, allocations: 1.081 MB / 0.5761 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001164/0.3308, allocations: 1.218 MB / 0.5773 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001962/0.331, allocations: 119.8 kB / 0.5774 GB, free: 3.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.3312, allocations: 165.2 kB / 0.5776 GB, free: 3.34 MB / 414.1 MB Notification: Performance of Backend: time 5.81e-07/0.3312, allocations: 0 / 0.5776 GB, free: 3.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.3325, allocations: 339.7 kB / 0.5779 GB, free: 3.004 MB / 414.1 MB Notification: Performance of SimCode: time 0.003387/0.3359, allocations: 2.46 MB / 0.5803 GB, free: 496 kB / 414.1 MB Notification: Performance of Templates: time 0.01131/0.3472, allocations: 5.688 MB / 0.5859 GB, free: 10.89 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.259323974001745]