Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001564/0.001564, allocations: 117.8 kB / 18.5 MB, free: 4.602 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.00182/0.00182, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.466/1.466, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1198, allocations: 53.32 MB / 426.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003809/0.1236, allocations: 1.916 MB / 428.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1259, allocations: 1.238 MB / 429.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.126, allocations: 0 / 429.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006493/0.1266, allocations: 158.2 kB / 430 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.127, allocations: 159.4 kB / 430.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.1276, allocations: 171.4 kB / 430.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.1278, allocations: 187.5 kB / 430.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.128, allocations: 17.56 kB / 430.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.1281, allocations: 79.62 kB / 430.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1282, allocations: 71.69 kB / 430.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.1282, allocations: 12 kB / 430.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.1284, allocations: 67.89 kB / 430.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.605e-05/0.1285, allocations: 43.84 kB / 430.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.007e-05/0.1286, allocations: 71.47 kB / 430.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.1289, allocations: 215.1 kB / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1289, allocations: 0 / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1289, allocations: 0 / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1289, allocations: 0 / 431 MB, free: 0.6055 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.0008824/0.1298, allocations: 0.5193 MB / 431.6 MB, free: 32 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1299, allocations: 12.03 kB / 431.6 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.836e-05/0.13, allocations: 42.73 kB / 431.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.13, allocations: 24.8 kB / 431.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.1304, allocations: 267 kB / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1304, allocations: 8.375 kB / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1304, allocations: 4.375 kB / 431.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.1308, allocations: 154.5 kB / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1308, allocations: 0 / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1308, allocations: 0 / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1308, allocations: 0 / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1309, allocations: 39.91 kB / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.1315, allocations: 362.4 kB / 432.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.1317, allocations: 107.9 kB / 432.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.943e-05/0.1318, allocations: 42.56 kB / 432.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.1318, allocations: 7.938 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.132, allocations: 79.44 kB / 432.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.132, allocations: 0 / 432.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003756/0.1324, allocations: 145.9 kB / 432.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.1325, allocations: 136.5 kB / 433 MB, free: 14.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.1328, allocations: 272.9 kB / 433.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1328, allocations: 29.7 kB / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/0.1329, allocations: 112.1 kB / 433.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1329, allocations: 19.89 kB / 433.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.133, allocations: 33.61 kB / 433.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1332, allocations: 338.8 kB / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.1332, allocations: 24.06 kB / 433.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.964e-05/0.1333, allocations: 69.98 kB / 433.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.1335, allocations: 80.25 kB / 433.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1335, allocations: 0 / 433.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002069/0.1337, allocations: 109.5 kB / 434 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1337, allocations: 8 kB / 434 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1337, allocations: 0 / 434 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1337, allocations: 7.984 kB / 434 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.1338, allocations: 16.06 kB / 434.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1338, allocations: 4 kB / 434.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.1339, allocations: 7.938 kB / 434.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1339, allocations: 7.984 kB / 434.1 MB, free: 13.22 MB / 366.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.0001451/0.134, allocations: 141.8 kB / 434.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.1341, allocations: 69.48 kB / 434.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.1342, allocations: 25.7 kB / 434.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1342, allocations: 4.062 kB / 434.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1342, allocations: 0 / 434.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1342, allocations: 0 / 434.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.1344, allocations: 233.5 kB / 434.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1344, allocations: 0 / 434.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.1345, allocations: 8 kB / 434.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1345, allocations: 4 kB / 434.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1345, allocations: 64 / 434.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1345, allocations: 4 kB / 434.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1345, allocations: 4 kB / 434.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1347, allocations: 158.6 kB / 434.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.1349, allocations: 108.9 kB / 434.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.1349, allocations: 4 kB / 434.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.139e-05/0.1349, allocations: 15.92 kB / 434.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.135, allocations: 7.938 kB / 434.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.135, allocations: 4.094 kB / 434.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.1352, allocations: 208.4 kB / 435 MB, free: 12.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1352, allocations: 0 / 435 MB, free: 12.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1355, allocations: 31.92 kB / 435.1 MB, free: 12.1 MB / 366.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.001955/0.1374, allocations: 0.9966 MB / 436.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1376, allocations: 63.91 kB / 436.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1376, allocations: 0 / 436.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.1377, allocations: 23.94 kB / 436.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.1381, allocations: 70.09 kB / 436.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.1405, allocations: 1.949 MB / 438.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.1409, allocations: 0.728 MB / 438.9 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.662e-05/0.141, allocations: 25.53 kB / 438.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.1411, allocations: 51.41 kB / 439 MB, free: 8.172 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1411, allocations: 3.938 kB / 439 MB, free: 8.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.1755, allocations: 4.647 MB / 443.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.221, allocations: 15.59 kB / 443.6 MB, free: 3.602 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.997939124703407]