Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.005261/0.005261, allocations: 105.4 kB / 21.98 MB, free: 5.223 MB / 14.72 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.001426/0.001426, allocations: 214.3 kB / 25.29 MB, free: 3.203 MB / 14.72 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.459/1.459, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2298/0.2298, allocations: 46.93 MB / 362.3 MB, free: 4.148 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-beta.om/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.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-beta.om_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-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 79.86 kB / 0.4982 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3482, allocations: 66.07 MB / 0.5627 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004732/0.3529, allocations: 3.309 MB / 0.5659 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3548, allocations: 0.8489 MB / 0.5668 GB, free: 16 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.355, allocations: 11.88 kB / 0.5668 GB, free: 4 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.3553, allocations: 75.34 kB / 0.5669 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.3557, allocations: 174.5 kB / 0.567 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.356, allocations: 119.7 kB / 0.5671 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006433/0.3566, allocations: 0.5907 MB / 0.5677 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.3569, allocations: 121.8 kB / 0.5678 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.3572, allocations: 235.2 kB / 0.5681 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.3575, allocations: 238.9 kB / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.3576, allocations: 44 kB / 0.5683 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.557e-05/0.3576, allocations: 44 kB / 0.5684 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.3577, allocations: 103.6 kB / 0.5685 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.358, allocations: 266.7 kB / 0.5687 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.3586, allocations: 0.5665 MB / 0.5693 GB, free: 13.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3586, allocations: 4 kB / 0.5693 GB, free: 13.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3586, allocations: 0 / 0.5693 GB, free: 13.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.3586, allocations: 0 / 0.5693 GB, free: 13.44 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001114/0.3597, allocations: 0.696 MB / 0.57 GB, free: 12.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3597, allocations: 8.031 kB / 0.57 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.251e-05/0.3598, allocations: 60.55 kB / 0.57 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.3603, allocations: 260.7 kB / 0.5703 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.3604, allocations: 37.38 kB / 0.5703 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.731e-05/0.3604, allocations: 56.33 kB / 0.5704 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.3612, allocations: 438.9 kB / 0.5708 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.3612, allocations: 11.95 kB / 0.5708 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.3612, allocations: 20 kB / 0.5708 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.3613, allocations: 15.98 kB / 0.5708 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/0.3618, allocations: 312.5 kB / 0.5711 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.3635, allocations: 1.107 MB / 0.5722 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/0.3642, allocations: 376 kB / 0.5726 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.3645, allocations: 191.9 kB / 0.5727 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.3645, allocations: 8.438 kB / 0.5728 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3645, allocations: 47.02 kB / 0.5728 GB, free: 9.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.054e-06/0.3645, allocations: 0 / 0.5728 GB, free: 9.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002954/0.3675, allocations: 1.852 MB / 0.5746 GB, free: 7.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.3676, allocations: 85.61 kB / 0.5747 GB, free: 7.633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.3678, allocations: 252.2 kB / 0.5749 GB, free: 7.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.3679, allocations: 41.69 kB / 0.575 GB, free: 7.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.368, allocations: 205.4 kB / 0.5752 GB, free: 7.129 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.3682, allocations: 289.5 kB / 0.5754 GB, free: 6.844 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.3684, allocations: 126.6 kB / 0.5756 GB, free: 6.715 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3686, allocations: 366.7 kB / 0.5759 GB, free: 6.348 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.3689, allocations: 153.9 kB / 0.5761 GB, free: 6.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.3692, allocations: 272.9 kB / 0.5763 GB, free: 5.891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006899/0.3699, allocations: 478.6 kB / 0.5768 GB, free: 5.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3699, allocations: 0 / 0.5768 GB, free: 5.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008601/0.3708, allocations: 0.5632 MB / 0.5773 GB, free: 4.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.3708, allocations: 8 kB / 0.5773 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3708, allocations: 288 / 0.5773 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.3708, allocations: 12 kB / 0.5773 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.3714, allocations: 175.8 kB / 0.5775 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.3714, allocations: 11.94 kB / 0.5775 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.3717, allocations: 23.98 kB / 0.5775 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.3717, allocations: 27.94 kB / 0.5776 GB, free: 4.562 MB / 414.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.0002141/0.372, allocations: 177.7 kB / 0.5777 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-05/0.3721, allocations: 47.72 kB / 0.5778 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.3722, allocations: 63.64 kB / 0.5778 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3722, allocations: 8 kB / 0.5779 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3722, allocations: 0 / 0.5779 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3722, allocations: 7.922 kB / 0.5779 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.3743, allocations: 1.404 MB / 0.5792 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3743, allocations: 4.344 kB / 0.5792 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006061/0.3749, allocations: 163.8 kB / 0.5794 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.3749, allocations: 4 kB / 0.5794 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.3749, allocations: 19.94 kB / 0.5794 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.3749, allocations: 4 kB / 0.5794 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.3749, allocations: 7.938 kB / 0.5794 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3761, allocations: 0.9205 MB / 0.5803 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.3762, allocations: 43.7 kB / 0.5804 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.3762, allocations: 19.94 kB / 0.5804 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.3765, allocations: 24.05 kB / 0.5804 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.3766, allocations: 52.3 kB / 0.5805 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.3766, allocations: 20 kB / 0.5805 GB, free: 1.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.3768, allocations: 187 kB / 0.5807 GB, free: 1.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3768, allocations: 0 / 0.5807 GB, free: 1.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005323/0.3773, allocations: 144 kB / 0.5808 GB, free: 1.094 MB / 414.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.0001417/0.3775, allocations: 127.1 kB / 0.5809 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.3782, allocations: 431.9 kB / 0.5813 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3782, allocations: 8.125 kB / 0.5813 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.3785, allocations: 222.8 kB / 0.5816 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007882/0.3793, allocations: 117.1 kB / 0.5817 GB, free: 208 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.3819, allocations: 1.721 MB / 0.5833 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.3824, allocations: 0.8484 MB / 0.5842 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.3826, allocations: 43.44 kB / 0.5842 GB, free: 13.49 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3826, allocations: 0 / 0.5842 GB, free: 13.49 MB / 430.1 MB Notification: Performance of Templates: time 0.0101/0.3927, allocations: 6.076 MB / 0.5901 GB, free: 7.445 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.326379290781915]