Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 107.3 kB / 17.06 MB, free: 6.016 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.001964/0.001964, allocations: 192 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 47.94 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2907, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003689/0.2944, allocations: 1.911 MB / 402.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.2963, allocations: 1.083 MB / 403.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.2965, allocations: 4 kB / 403.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006029/0.2971, allocations: 155.5 kB / 403.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.2974, allocations: 118.7 kB / 403.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.2981, allocations: 210.8 kB / 403.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.2983, allocations: 199.4 kB / 403.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2985, allocations: 29.67 kB / 403.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2986, allocations: 79.62 kB / 404 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.2987, allocations: 79.61 kB / 404.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.2988, allocations: 16 kB / 404.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.299, allocations: 47.98 kB / 404.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.2991, allocations: 51.77 kB / 404.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.288e-05/0.2991, allocations: 75.53 kB / 404.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.2995, allocations: 206.2 kB / 404.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.597e-06/0.2995, allocations: 3.984 kB / 404.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2995, allocations: 0 / 404.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2995, allocations: 0 / 404.5 MB, free: 4.559 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007757/0.3003, allocations: 0.527 MB / 405 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000129/0.3005, allocations: 16.03 kB / 405 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.3005, allocations: 38.75 kB / 405.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.3006, allocations: 24.8 kB / 405.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.3009, allocations: 275 kB / 405.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.301, allocations: 8.312 kB / 405.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.301, allocations: 15.88 kB / 405.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.3014, allocations: 167.6 kB / 405.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3014, allocations: 0 / 405.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3014, allocations: 0 / 405.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3014, allocations: 7.938 kB / 405.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3015, allocations: 39.91 kB / 405.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.3021, allocations: 375.2 kB / 406 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.3024, allocations: 134.5 kB / 406.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3025, allocations: 55.42 kB / 406.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3025, allocations: 0 / 406.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.3027, allocations: 87.33 kB / 406.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.552e-06/0.3027, allocations: 0 / 406.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003946/0.3031, allocations: 161.4 kB / 406.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.3032, allocations: 158.6 kB / 406.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.3036, allocations: 272.9 kB / 406.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.3036, allocations: 29.7 kB / 406.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3037, allocations: 124.4 kB / 407 MB, free: 1.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.3037, allocations: 15.84 kB / 407 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.3038, allocations: 41.66 kB / 407 MB, free: 1.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.304, allocations: 326.8 kB / 407.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-05/0.3041, allocations: 19.98 kB / 407.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3042, allocations: 87.66 kB / 407.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3044, allocations: 93.97 kB / 407.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3044, allocations: 0 / 407.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002396/0.3046, allocations: 129.4 kB / 407.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3046, allocations: 11.98 kB / 407.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3047, allocations: 192 / 407.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3047, allocations: 8 kB / 407.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.3048, allocations: 8 kB / 407.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3048, allocations: 4 kB / 407.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.44e-05/0.3049, allocations: 15.88 kB / 407.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3049, allocations: 4 kB / 407.7 MB, free: 0.9453 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.00016/0.305, allocations: 153.7 kB / 407.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3052, allocations: 73.59 kB / 407.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.275e-05/0.3052, allocations: 21.72 kB / 407.9 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3052, allocations: 4.312 kB / 408 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3052, allocations: 0 / 408 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.3053, allocations: 11.91 kB / 408 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.3055, allocations: 233.5 kB / 408.2 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3055, allocations: 3.938 kB / 408.2 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.3056, allocations: 7.984 kB / 408.2 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3056, allocations: 7.938 kB / 408.2 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3056, allocations: 3.938 kB / 408.2 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3056, allocations: 4 kB / 408.2 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3056, allocations: 4.031 kB / 408.2 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.3059, allocations: 171.5 kB / 408.4 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.306, allocations: 105 kB / 408.5 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.3061, allocations: 4 kB / 408.5 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.3061, allocations: 11.98 kB / 408.5 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.3062, allocations: 7.938 kB / 408.5 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.3062, allocations: 11.94 kB / 408.5 MB, free: 8 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.3065, allocations: 196.6 kB / 408.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3065, allocations: 0 / 408.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.3067, allocations: 35.92 kB / 408.8 MB, free: 15.78 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002033/0.3088, allocations: 1.025 MB / 409.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.309, allocations: 72.22 kB / 409.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3091, allocations: 8.062 kB / 409.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/0.3091, allocations: 27.92 kB / 409.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.3096, allocations: 83.89 kB / 410 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.3122, allocations: 2.03 MB / 412 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.3127, allocations: 0.7358 MB / 412.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.702e-05/0.3128, allocations: 25.78 kB / 412.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.883e-05/0.3129, allocations: 51.42 kB / 412.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3129, allocations: 0 / 412.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.3397, allocations: 4.907 MB / 417.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.422, allocations: 4.5 kB / 417.7 MB, free: 6.926 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches