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.001819/0.001819, allocations: 108.2 kB / 20.22 MB, free: 1.812 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.002365/0.002365, allocations: 222.2 kB / 23.48 MB, free: 5.254 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.465/1.465, allocations: 230.2 MB / 256.8 MB, free: 8.578 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.2377/0.2377, allocations: 46.88 MB / 360 MB, free: 4.727 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: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) [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.003677/0.003677, allocations: 75.88 kB / 0.4951 GB, free: 8.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3262, allocations: 65.99 MB / 0.5595 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004841/0.331, allocations: 3.305 MB / 0.5627 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3328, allocations: 0.8412 MB / 0.5636 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.333, allocations: 11.94 kB / 0.5636 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3333, allocations: 79.23 kB / 0.5636 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.3336, allocations: 170.5 kB / 0.5638 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.3339, allocations: 111.8 kB / 0.5639 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006706/0.3346, allocations: 0.5946 MB / 0.5645 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.3348, allocations: 129.4 kB / 0.5646 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.3351, allocations: 223.2 kB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.3354, allocations: 242.9 kB / 0.5651 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.3355, allocations: 40 kB / 0.5651 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.511e-05/0.3356, allocations: 51.94 kB / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.3357, allocations: 95.69 kB / 0.5652 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.336, allocations: 270.7 kB / 0.5655 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.3366, allocations: 0.5582 MB / 0.566 GB, free: 14.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3366, allocations: 0 / 0.566 GB, free: 14.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3366, allocations: 0 / 0.566 GB, free: 14.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3367, allocations: 4 kB / 0.566 GB, free: 14.27 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.001207/0.3379, allocations: 0.779 MB / 0.5668 GB, free: 13.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.3379, allocations: 8.031 kB / 0.5668 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.338, allocations: 86.7 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.3381, allocations: 60.61 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.3386, allocations: 322.6 kB / 0.5673 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.3387, allocations: 37.38 kB / 0.5673 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-05/0.3388, allocations: 60.31 kB / 0.5674 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.3395, allocations: 434.7 kB / 0.5678 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.3395, allocations: 11.89 kB / 0.5678 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.3396, allocations: 20 kB / 0.5678 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.3396, allocations: 16 kB / 0.5678 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.3402, allocations: 312.5 kB / 0.5681 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.3419, allocations: 1.15 MB / 0.5692 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.3427, allocations: 461.9 kB / 0.5697 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.343, allocations: 190.9 kB / 0.5699 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.343, allocations: 4.438 kB / 0.5699 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.343, allocations: 46.94 kB / 0.5699 GB, free: 10.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.974e-06/0.343, allocations: 0 / 0.5699 GB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003294/0.3463, allocations: 2.156 MB / 0.572 GB, free: 7.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.3464, allocations: 93.66 kB / 0.5721 GB, free: 7.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.3467, allocations: 254.9 kB / 0.5723 GB, free: 7.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.3467, allocations: 33.7 kB / 0.5724 GB, free: 7.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.3469, allocations: 213.4 kB / 0.5726 GB, free: 7.156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.3471, allocations: 281.5 kB / 0.5729 GB, free: 6.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.3473, allocations: 122.6 kB / 0.573 GB, free: 6.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.3475, allocations: 362.7 kB / 0.5733 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.3478, allocations: 157.9 kB / 0.5735 GB, free: 6.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.3481, allocations: 276.8 kB / 0.5737 GB, free: 5.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/0.3488, allocations: 470.8 kB / 0.5742 GB, free: 5.438 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3488, allocations: 0 / 0.5742 GB, free: 5.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008916/0.3497, allocations: 0.5671 MB / 0.5747 GB, free: 4.863 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.3498, allocations: 8 kB / 0.5747 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3498, allocations: 0 / 0.5747 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3498, allocations: 8 kB / 0.5747 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.3504, allocations: 172.1 kB / 0.5749 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.3504, allocations: 19.92 kB / 0.5749 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.3507, allocations: 23.94 kB / 0.575 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.3507, allocations: 28 kB / 0.575 GB, free: 4.609 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.0002082/0.3509, allocations: 173.7 kB / 0.5751 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/0.351, allocations: 47.72 kB / 0.5752 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.3511, allocations: 55.64 kB / 0.5752 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.3511, allocations: 8 kB / 0.5753 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3512, allocations: 4 kB / 0.5753 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.3512, allocations: 7.922 kB / 0.5753 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.3532, allocations: 1.445 MB / 0.5767 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.3532, allocations: 4 kB / 0.5767 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.3538, allocations: 155.8 kB / 0.5768 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.3539, allocations: 8.344 kB / 0.5768 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.3539, allocations: 23.94 kB / 0.5769 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.3539, allocations: 11.94 kB / 0.5769 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.3539, allocations: 8.062 kB / 0.5769 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.3551, allocations: 0.9081 MB / 0.5778 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.3552, allocations: 128.8 kB / 0.5779 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.947e-05/0.3553, allocations: 24 kB / 0.5779 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.3556, allocations: 15.98 kB / 0.5779 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.3557, allocations: 44.33 kB / 0.578 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.3557, allocations: 31.92 kB / 0.578 GB, free: 1.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.3559, allocations: 174 kB / 0.5782 GB, free: 1.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3559, allocations: 0 / 0.5782 GB, free: 1.152 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.3564, allocations: 152 kB / 0.5783 GB, free: 1.004 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.00159/0.358, allocations: 1.46 MB / 0.5797 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007942/0.3588, allocations: 443.5 kB / 0.5802 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3588, allocations: 0 / 0.5802 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.3592, allocations: 227.3 kB / 0.5804 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/0.36, allocations: 127.3 kB / 0.5805 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006751/0.3668, allocations: 4.792 MB / 0.5852 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.3673, allocations: 0.8485 MB / 0.586 GB, free: 8.816 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.3676, allocations: 56.66 kB / 0.5861 GB, free: 8.758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.3678, allocations: 167.4 kB / 0.5862 GB, free: 8.594 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3678, allocations: 0 / 0.5862 GB, free: 8.594 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03852/0.4064, allocations: 9.979 MB / 0.596 GB, free: 14.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/9.11, allocations: 0 / 0.596 GB, free: 14.75 MB / 446.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.946138896048069] Failed to read output from testmodel.py, exit status != 0: ['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'] 9.190951474010944 9.212623322 8.871521052 Calling exit ...