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.001544/0.001544, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001905/0.001905, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.5/1.5, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2502/0.2502, allocations: 46.92 MB / 361.6 MB, free: 4.207 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.003441/0.003441, allocations: 79.88 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3307, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.0051/0.3358, allocations: 3.32 MB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3375, allocations: 0.8374 MB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.3377, allocations: 7.938 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.338, allocations: 79.17 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000457/0.3385, allocations: 178.6 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.3388, allocations: 111.8 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007588/0.3395, allocations: 0.5906 MB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.3398, allocations: 125.8 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.3402, allocations: 227.3 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.3405, allocations: 242.9 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/0.3406, allocations: 44 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.641e-05/0.3407, allocations: 47.94 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3408, allocations: 107.6 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.3411, allocations: 266.7 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008314/0.3419, allocations: 0.5544 MB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.3419, allocations: 4 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3419, allocations: 0 / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.342, allocations: 0 / 0.568 GB, free: 13.57 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.001242/0.3432, allocations: 0.7038 MB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3432, allocations: 8.031 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.3433, allocations: 94.64 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.987e-05/0.3434, allocations: 60.55 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.3439, allocations: 256.8 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.344, allocations: 41.31 kB / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3441, allocations: 52.33 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008043/0.3449, allocations: 434.7 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.3449, allocations: 11.95 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.3449, allocations: 16 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.3449, allocations: 12 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.3455, allocations: 320.5 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.3473, allocations: 1.107 MB / 0.5711 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.348, allocations: 384.1 kB / 0.5714 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.3483, allocations: 191.8 kB / 0.5716 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3483, allocations: 8.438 kB / 0.5716 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.3484, allocations: 50.86 kB / 0.5717 GB, free: 9.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.175e-06/0.3484, allocations: 0 / 0.5717 GB, free: 9.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003165/0.3515, allocations: 1.845 MB / 0.5735 GB, free: 7.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.3516, allocations: 85.61 kB / 0.5735 GB, free: 7.652 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.3519, allocations: 260.2 kB / 0.5738 GB, free: 7.391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.3519, allocations: 33.7 kB / 0.5738 GB, free: 7.352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.3521, allocations: 213.4 kB / 0.574 GB, free: 7.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.3524, allocations: 281.5 kB / 0.5743 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.3525, allocations: 126.6 kB / 0.5744 GB, free: 6.734 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3527, allocations: 354.7 kB / 0.5748 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.353, allocations: 161.9 kB / 0.5749 GB, free: 6.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.3534, allocations: 272.9 kB / 0.5752 GB, free: 5.914 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007327/0.3541, allocations: 462.6 kB / 0.5756 GB, free: 5.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3542, allocations: 4 kB / 0.5756 GB, free: 5.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009444/0.3551, allocations: 0.5749 MB / 0.5762 GB, free: 4.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.3551, allocations: 6.5 kB / 0.5762 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3551, allocations: 4 kB / 0.5762 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/0.3552, allocations: 8 kB / 0.5762 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006325/0.3558, allocations: 175.7 kB / 0.5764 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.3558, allocations: 4 kB / 0.5764 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.3561, allocations: 36.2 kB / 0.5764 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.3561, allocations: 28 kB / 0.5764 GB, free: 4.59 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.0002437/0.3564, allocations: 177.6 kB / 0.5766 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.962e-05/0.3565, allocations: 51.75 kB / 0.5767 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.3566, allocations: 59.64 kB / 0.5767 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3566, allocations: 4 kB / 0.5767 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.3566, allocations: 4 kB / 0.5767 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.3566, allocations: 7.922 kB / 0.5767 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.3588, allocations: 1.415 MB / 0.5781 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.3588, allocations: 4 kB / 0.5781 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.3595, allocations: 155.9 kB / 0.5783 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.3595, allocations: 11.98 kB / 0.5783 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.3596, allocations: 23.94 kB / 0.5783 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.3596, allocations: 4 kB / 0.5783 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.3596, allocations: 8.281 kB / 0.5783 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.3608, allocations: 0.9127 MB / 0.5792 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-05/0.3609, allocations: 47.64 kB / 0.5792 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.3609, allocations: 20 kB / 0.5793 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.3612, allocations: 23.98 kB / 0.5793 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.3613, allocations: 48.3 kB / 0.5793 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.3614, allocations: 23.94 kB / 0.5794 GB, free: 1.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.3615, allocations: 179.1 kB / 0.5795 GB, free: 1.254 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3615, allocations: 0 / 0.5795 GB, free: 1.254 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000542/0.3621, allocations: 148 kB / 0.5797 GB, free: 1.109 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.001593/0.3637, allocations: 1.465 MB / 0.5811 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007618/0.3644, allocations: 435.6 kB / 0.5815 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3644, allocations: 0 / 0.5815 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.3648, allocations: 222.9 kB / 0.5817 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/0.3656, allocations: 138.2 kB / 0.5819 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006508/0.3721, allocations: 4.776 MB / 0.5865 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.3727, allocations: 0.8406 MB / 0.5873 GB, free: 8.941 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000224/0.3729, allocations: 64.64 kB / 0.5874 GB, free: 8.875 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.3732, allocations: 163.4 kB / 0.5876 GB, free: 8.715 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3732, allocations: 0 / 0.5876 GB, free: 8.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.4132, allocations: 10.43 MB / 0.5977 GB, free: 14.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.143/9.556, allocations: 15.44 kB / 0.5978 GB, free: 14.41 MB / 446.1 MB " [Timeout remaining time 650] (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: 12.481109680142254] 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.63589111994952 9.651104839 9.305625854 Calling exit ...