Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 109.5 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 190.5 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05633/0.05633, allocations: 11.84 MB / 282.4 MB, free: 240 kB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 70.48 kB / 393 MB, free: 45.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.08293, allocations: 49.23 MB / 442.2 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003449/0.08642, allocations: 2.088 MB / 444.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.08772, allocations: 0.6202 MB / 444.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.08789, allocations: 4 kB / 445 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.532e-05/0.08799, allocations: 11.86 kB / 445 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.08839, allocations: 83.45 kB / 445 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.08853, allocations: 23.91 kB / 445.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.0888, allocations: 151.2 kB / 445.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.08895, allocations: 41.02 kB / 445.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.08912, allocations: 47.86 kB / 445.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.08926, allocations: 71.62 kB / 445.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.08929, allocations: 8 kB / 445.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.08938, allocations: 16 kB / 445.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.08942, allocations: 23.92 kB / 445.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.0895, allocations: 55.73 kB / 445.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.08972, allocations: 119.6 kB / 445.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.08974, allocations: 0 / 445.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.08975, allocations: 0 / 445.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.08976, allocations: 3.938 kB / 445.6 MB, free: 14.71 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006678/0.09043, allocations: 440.8 kB / 446 MB, free: 14.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.09049, allocations: 15.89 kB / 446 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.09056, allocations: 16.75 kB / 446.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.09088, allocations: 204.1 kB / 446.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.09091, allocations: 4.375 kB / 446.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.09093, allocations: 12.12 kB / 446.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.09122, allocations: 104.9 kB / 446.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.09124, allocations: 3.938 kB / 446.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.09126, allocations: 4 kB / 446.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.09128, allocations: 4 kB / 446.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.09153, allocations: 87.86 kB / 446.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000767/0.09231, allocations: 0.5706 MB / 447 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.09254, allocations: 86.53 kB / 447.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.09268, allocations: 52.83 kB / 447.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.09271, allocations: 0 / 447.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.09275, allocations: 34.56 kB / 447.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.09276, allocations: 192 / 447.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001398/0.09416, allocations: 412.1 kB / 447.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.09422, allocations: 77.11 kB / 447.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.09435, allocations: 151.4 kB / 447.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.09438, allocations: 33.7 kB / 447.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.09444, allocations: 96.12 kB / 448 MB, free: 12.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.09448, allocations: 35.45 kB / 448 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.09454, allocations: 21.7 kB / 448 MB, free: 12.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.09465, allocations: 318.8 kB / 448.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.09482, allocations: 43.95 kB / 448.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.09501, allocations: 77.59 kB / 448.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.09536, allocations: 161 kB / 448.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.09537, allocations: 0.8438 kB / 448.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004154/0.09579, allocations: 183.1 kB / 448.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.09584, allocations: 39.81 kB / 448.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.09586, allocations: 96 / 448.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.09588, allocations: 7.938 kB / 448.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.09606, allocations: 27.97 kB / 448.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.09608, allocations: 4 kB / 448.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.0962, allocations: 12.02 kB / 448.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.09622, allocations: 4 kB / 448.9 MB, free: 11.11 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001195/0.09635, allocations: 155.4 kB / 449 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.09639, allocations: 11.84 kB / 449 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/0.0969, allocations: 215.8 kB / 449.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.09692, allocations: 0 / 449.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.09692, allocations: 0 / 449.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.097, allocations: 93 kB / 449.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.09703, allocations: 7.984 kB / 449.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.09717, allocations: 11.98 kB / 449.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.09724, allocations: 11.98 kB / 449.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000531/0.09778, allocations: 333.9 kB / 449.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000506/0.09829, allocations: 371.8 kB / 450.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000203/0.09851, allocations: 75.94 kB / 450.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.998e-05/0.0986, allocations: 115.2 kB / 450.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of Backend: time 6.32e-07/0.09861, allocations: 0 / 450.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006252/0.09924, allocations: 205.6 kB / 450.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007434/0.09999, allocations: 0.7658 MB / 451.2 MB, free: 8.598 MB / 334.1 MB Notification: Performance of Templates: time 0.005161/0.1052, allocations: 2.099 MB / 453.3 MB, free: 6.52 MB / 334.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)