Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.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.001923/0.001923, allocations: 114.3 kB / 20.22 MB, free: 1.809 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.002442/0.002442, allocations: 212.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.481/1.481, allocations: 230.2 MB / 256.8 MB, free: 8.562 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.2287/0.2287, allocations: 46.89 MB / 360 MB, free: 4.707 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.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents",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.002536/0.002536, allocations: 79.86 kB / 0.4951 GB, free: 8.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.299, allocations: 65.99 MB / 0.5595 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005831/0.3048, allocations: 4.193 MB / 0.5636 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.3077, allocations: 1.184 MB / 0.5648 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005428/0.3083, allocations: 23.88 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.3086, allocations: 102.9 kB / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007066/0.3093, allocations: 210.1 kB / 0.5651 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.31, allocations: 223.6 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.3111, allocations: 0.7978 MB / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.3115, allocations: 173.3 kB / 0.5662 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005868/0.312, allocations: 326.8 kB / 0.5665 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005247/0.3126, allocations: 342.5 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.3127, allocations: 60 kB / 0.5669 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.3129, allocations: 88 kB / 0.567 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.3131, allocations: 147.4 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004108/0.3135, allocations: 358.2 kB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.3145, allocations: 0.7934 MB / 0.5683 GB, free: 11.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3145, allocations: 0 / 0.5683 GB, free: 11.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3145, allocations: 4 kB / 0.5683 GB, free: 11.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.3146, allocations: 0 / 0.5683 GB, free: 11.96 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002159/0.3167, allocations: 1.028 MB / 0.5693 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3168, allocations: 8.031 kB / 0.5693 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.3169, allocations: 106.7 kB / 0.5694 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007128/0.3176, allocations: 144.3 kB / 0.5695 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007214/0.3183, allocations: 438 kB / 0.5699 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.3184, allocations: 41.69 kB / 0.57 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.3185, allocations: 76.08 kB / 0.5701 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3198, allocations: 0.6154 MB / 0.5707 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.3198, allocations: 7.953 kB / 0.5707 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.3199, allocations: 31.98 kB / 0.5707 GB, free: 9.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.3199, allocations: 12 kB / 0.5707 GB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.3211, allocations: 0.5112 MB / 0.5712 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003658/0.3247, allocations: 2.167 MB / 0.5733 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.3261, allocations: 0.6604 MB / 0.574 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.3268, allocations: 310.5 kB / 0.5743 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/0.327, allocations: 97.53 kB / 0.5744 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.327, allocations: 46.94 kB / 0.5744 GB, free: 5.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.555e-06/0.327, allocations: 0 / 0.5744 GB, free: 5.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008794/0.3358, allocations: 4.544 MB / 0.5788 GB, free: 456 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000214/0.336, allocations: 226.2 kB / 0.5791 GB, free: 176 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.3365, allocations: 389.8 kB / 0.5794 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.3366, allocations: 49.7 kB / 0.5795 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.3369, allocations: 277.5 kB / 0.5797 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003884/0.3372, allocations: 432.6 kB / 0.5802 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/0.3375, allocations: 186.9 kB / 0.5803 GB, free: 14.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3377, allocations: 386.8 kB / 0.5807 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/0.3384, allocations: 310.4 kB / 0.581 GB, free: 14.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007987/0.3391, allocations: 0.4964 MB / 0.5815 GB, free: 13.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.3407, allocations: 0.8621 MB / 0.5823 GB, free: 12.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3407, allocations: 4 kB / 0.5823 GB, free: 12.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001895/0.3426, allocations: 0.9885 MB / 0.5833 GB, free: 11.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3426, allocations: 8 kB / 0.5833 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3426, allocations: 4 kB / 0.5833 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.3426, allocations: 12 kB / 0.5833 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.3437, allocations: 280 kB / 0.5836 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/0.3437, allocations: 19.92 kB / 0.5836 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.3441, allocations: 39.98 kB / 0.5836 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-05/0.3442, allocations: 43.98 kB / 0.5837 GB, free: 11.26 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * 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.0003708/0.3446, allocations: 233.5 kB / 0.5839 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.3448, allocations: 83.47 kB / 0.584 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004673/0.3453, allocations: 226.9 kB / 0.5842 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.3453, allocations: 19.94 kB / 0.5842 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.3453, allocations: 0 / 0.5842 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.3453, allocations: 7.984 kB / 0.5842 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/0.3492, allocations: 2.329 MB / 0.5865 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.3492, allocations: 4 kB / 0.5865 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.3503, allocations: 247.6 kB / 0.5867 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.3503, allocations: 8 kB / 0.5867 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.3504, allocations: 28.27 kB / 0.5868 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/0.3504, allocations: 12 kB / 0.5868 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.3504, allocations: 7.938 kB / 0.5868 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.3532, allocations: 1.878 MB / 0.5886 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.3535, allocations: 208.6 kB / 0.5888 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/0.3536, allocations: 24 kB / 0.5888 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.3542, allocations: 39.98 kB / 0.5889 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.3544, allocations: 88.33 kB / 0.589 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.3544, allocations: 35.98 kB / 0.589 GB, free: 5.629 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003073/0.3547, allocations: 263.1 kB / 0.5893 GB, free: 5.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3547, allocations: 0 / 0.5893 GB, free: 5.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009051/0.3556, allocations: 207.9 kB / 0.5895 GB, free: 5.168 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * 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.003148/0.3588, allocations: 2.457 MB / 0.5919 GB, free: 2.648 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.3605, allocations: 0.8005 MB / 0.5926 GB, free: 1.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3605, allocations: 3.938 kB / 0.5926 GB, free: 1.852 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000874/0.3614, allocations: 467.7 kB / 0.5931 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.3627, allocations: 149.8 kB / 0.5932 GB, free: 1.254 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.3738, allocations: 7.296 MB / 0.6004 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/0.3744, allocations: 0.9596 MB / 0.6013 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004376/0.3749, allocations: 106 kB / 0.6014 GB, free: 8.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/0.3753, allocations: 271.3 kB / 0.6017 GB, free: 8.285 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3753, allocations: 0 / 0.6017 GB, free: 8.285 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04364/0.4189, allocations: 14.32 MB / 0.6156 GB, free: 10.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.401/9.82, allocations: 12 kB / 0.6156 GB, free: 10.08 MB / 462.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.64735719980672] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.s_rel', 'elastoGap.s_rel', 'elastoGap.v_rel', 'position.s', 'position.v', 'position1.s', 'position1.v', 'position2.s', 'position2.v', 'relativeStates.s_rel', 'relativeStates.v_rel', 'slidingMass.s', 'slidingMass.v', 'springDamper.s_rel', 'springDamper.v_rel'] 9.904008181998506 9.933458204 9.612812602 Calling exit ...