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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 123.9 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 185.2 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 47.92 kB / 365.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09729/0.09872, allocations: 52.15 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003441/0.1022, allocations: 1.913 MB / 419.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1041, allocations: 1.099 MB / 420.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1042, allocations: 4 kB / 420.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005729/0.1048, allocations: 151.5 kB / 421 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.1051, allocations: 123.5 kB / 421.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.1056, allocations: 210.3 kB / 421.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.1059, allocations: 179.5 kB / 421.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.106, allocations: 29.66 kB / 421.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1061, allocations: 79.58 kB / 421.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1063, allocations: 79.67 kB / 421.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.1063, allocations: 8 kB / 421.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1064, allocations: 67.89 kB / 421.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.1065, allocations: 43.84 kB / 421.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.279e-05/0.1066, allocations: 75.47 kB / 421.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.1069, allocations: 218.9 kB / 422 MB, free: 8.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1069, allocations: 0 / 422 MB, free: 8.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1069, allocations: 0 / 422 MB, free: 8.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1069, allocations: 0 / 422 MB, free: 8.305 MB / 350.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.000859/0.1078, allocations: 0.531 MB / 422.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1078, allocations: 8.031 kB / 422.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.1079, allocations: 42.75 kB / 422.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.1079, allocations: 20.8 kB / 422.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.1083, allocations: 282.9 kB / 422.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1083, allocations: 384 / 422.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.1084, allocations: 15.94 kB / 422.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.1087, allocations: 163.6 kB / 423.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1087, allocations: 4 kB / 423.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1087, allocations: 3.938 kB / 423.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.1087, allocations: 4 kB / 423.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1088, allocations: 39.92 kB / 423.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.1094, allocations: 371.2 kB / 423.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.1096, allocations: 138.5 kB / 423.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.1097, allocations: 51.42 kB / 423.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.1098, allocations: 4 kB / 423.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.1099, allocations: 83.39 kB / 423.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1099, allocations: 0 / 423.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000384/0.1103, allocations: 161.3 kB / 423.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.1104, allocations: 162.6 kB / 424.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.1107, allocations: 276.9 kB / 424.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1107, allocations: 25.7 kB / 424.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.1108, allocations: 120.3 kB / 424.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1109, allocations: 19.89 kB / 424.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.1109, allocations: 37.66 kB / 424.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1111, allocations: 326.8 kB / 424.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.499e-05/0.1112, allocations: 27.92 kB / 424.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1113, allocations: 83.72 kB / 425 MB, free: 4.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.1114, allocations: 93.97 kB / 425.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1114, allocations: 0 / 425.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002256/0.1117, allocations: 125.4 kB / 425.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1117, allocations: 8 kB / 425.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1117, allocations: 0 / 425.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1117, allocations: 8.188 kB / 425.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.1118, allocations: 15.98 kB / 425.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1118, allocations: 3.938 kB / 425.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.307e-05/0.1119, allocations: 15.89 kB / 425.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1119, allocations: 8.312 kB / 425.3 MB, free: 4.691 MB / 350.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.0001342/0.112, allocations: 145.8 kB / 425.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.1121, allocations: 73.53 kB / 425.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.1122, allocations: 29.8 kB / 425.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1122, allocations: 4 kB / 425.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1122, allocations: 0 / 425.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.1122, allocations: 11.92 kB / 425.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.1124, allocations: 225.5 kB / 425.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.1124, allocations: 4 kB / 425.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.1125, allocations: 11.94 kB / 425.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1125, allocations: 3.984 kB / 425.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1125, allocations: 4 kB / 425.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1125, allocations: 0 / 425.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1125, allocations: 3.938 kB / 425.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.1128, allocations: 179.4 kB / 425.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1129, allocations: 108.9 kB / 426.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.1129, allocations: 4 kB / 426.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.113, allocations: 15.98 kB / 426.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.113, allocations: 3.938 kB / 426.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.113, allocations: 4 kB / 426.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.1132, allocations: 204.5 kB / 426.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1132, allocations: 0 / 426.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1135, allocations: 35.92 kB / 426.3 MB, free: 3.527 MB / 350.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.001986/0.1155, allocations: 1.032 MB / 427.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1157, allocations: 71.91 kB / 427.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1157, allocations: 4.375 kB / 427.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.1158, allocations: 27.92 kB / 427.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.1162, allocations: 72.97 kB / 427.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.1186, allocations: 2.02 MB / 429.5 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.119, allocations: 0.7358 MB / 430.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.871e-05/0.1191, allocations: 25.53 kB / 430.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.713e-05/0.1192, allocations: 55.41 kB / 430.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1192, allocations: 0 / 430.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.1472, allocations: 4.948 MB / 435.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.052, allocations: 13.22 kB / 435.3 MB, free: 10.61 MB / 366.1 MB " [Timeout remaining time 652] (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 --stepSize=1.79247e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.745023625902832]