Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001424/0.001424, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001761/0.001761, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.361/1.361, 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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 55.91 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1088, allocations: 52.13 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003483/0.1123, allocations: 1.888 MB / 419.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1142, allocations: 1.091 MB / 420.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.1144, allocations: 7.938 kB / 420.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000636/0.115, allocations: 139.6 kB / 420.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.1153, allocations: 119.5 kB / 421 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.1159, allocations: 214.7 kB / 421.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1162, allocations: 175.5 kB / 421.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1163, allocations: 25.53 kB / 421.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1164, allocations: 71.7 kB / 421.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1165, allocations: 79.67 kB / 421.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1165, allocations: 11.94 kB / 421.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.1167, allocations: 59.89 kB / 421.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.932e-05/0.1168, allocations: 43.84 kB / 421.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.1168, allocations: 63.55 kB / 421.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.1172, allocations: 211.1 kB / 422 MB, free: 8.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1172, allocations: 0 / 422 MB, free: 8.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1172, allocations: 0 / 422 MB, free: 8.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1172, allocations: 0 / 422 MB, free: 8.422 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008422/0.118, allocations: 0.5116 MB / 422.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.1181, allocations: 12.03 kB / 422.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.1181, allocations: 34.75 kB / 422.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.1182, allocations: 24.78 kB / 422.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.1186, allocations: 278.9 kB / 422.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1186, allocations: 8.375 kB / 422.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1186, allocations: 7.938 kB / 422.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.1189, allocations: 146.7 kB / 423 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.119, allocations: 0 / 423 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.119, allocations: 4 kB / 423 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.119, allocations: 0 / 423 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1191, allocations: 31.92 kB / 423 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.1196, allocations: 358.5 kB / 423.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.1198, allocations: 103.9 kB / 423.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.1199, allocations: 42.56 kB / 423.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.1199, allocations: 11.92 kB / 423.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.1201, allocations: 75.34 kB / 423.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.1201, allocations: 0 / 423.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003626/0.1205, allocations: 133.5 kB / 423.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.1206, allocations: 144.7 kB / 423.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.1208, allocations: 264.9 kB / 424.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.1209, allocations: 29.7 kB / 424.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.121, allocations: 116.1 kB / 424.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.121, allocations: 23.83 kB / 424.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.1211, allocations: 25.72 kB / 424.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1212, allocations: 334.8 kB / 424.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-05/0.1213, allocations: 16 kB / 424.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.983e-05/0.1214, allocations: 73.98 kB / 424.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1215, allocations: 76.52 kB / 424.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1215, allocations: 4 kB / 424.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002082/0.1217, allocations: 113.5 kB / 424.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1217, allocations: 8 kB / 424.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1218, allocations: 3.938 kB / 424.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1218, allocations: 4 kB / 424.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.1218, allocations: 19.86 kB / 424.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1218, allocations: 0 / 424.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.1219, allocations: 24.02 kB / 425 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1219, allocations: 4 kB / 425 MB, free: 5.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001444/0.1221, allocations: 141.8 kB / 425.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.1222, allocations: 61.53 kB / 425.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.1222, allocations: 21.7 kB / 425.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1222, allocations: 4 kB / 425.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1222, allocations: 0 / 425.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.1222, allocations: 7.922 kB / 425.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.1225, allocations: 233.7 kB / 425.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1225, allocations: 0 / 425.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.1225, allocations: 8 kB / 425.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1225, allocations: 3.984 kB / 425.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1225, allocations: 0 / 425.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1225, allocations: 4 kB / 425.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1225, allocations: 0 / 425.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.1228, allocations: 154.6 kB / 425.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.1229, allocations: 116.9 kB / 425.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.1229, allocations: 0 / 425.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.067e-05/0.123, allocations: 11.94 kB / 425.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.123, allocations: 11.98 kB / 425.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.123, allocations: 8 kB / 425.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.1232, allocations: 192.5 kB / 425.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1232, allocations: 0 / 425.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1235, allocations: 32 kB / 426 MB, free: 3.953 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (9): * Single equations (assignments): 7 * 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.001972/0.1255, allocations: 1.007 MB / 427 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1257, allocations: 67.91 kB / 427 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1257, allocations: 0 / 427 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.1257, allocations: 23.94 kB / 427.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1261, allocations: 67.39 kB / 427.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.1285, allocations: 1.925 MB / 429 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.1289, allocations: 0.7241 MB / 429.8 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.848e-05/0.129, allocations: 21.53 kB / 429.8 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.1291, allocations: 51.41 kB / 429.8 MB, free: 68 kB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1291, allocations: 4 kB / 429.8 MB, free: 64 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.1567, allocations: 4.584 MB / 434.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.17, allocations: 0 / 434.4 MB, free: 11.59 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.847068480681628]