Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002258/0.002258, allocations: 212 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 51.91 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3284, allocations: 53.36 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004016/0.3324, allocations: 1.921 MB / 433.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.335, allocations: 1.332 MB / 434.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.3352, allocations: 7.938 kB / 434.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.3356, allocations: 63.67 kB / 434.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.336, allocations: 135.4 kB / 434.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.3368, allocations: 233.8 kB / 434.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.3371, allocations: 183.5 kB / 435 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.3373, allocations: 21.73 kB / 435 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.3374, allocations: 75.7 kB / 435.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.3376, allocations: 87.59 kB / 435.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.3376, allocations: 11.94 kB / 435.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.3379, allocations: 79.94 kB / 435.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.512e-05/0.338, allocations: 47.84 kB / 435.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3381, allocations: 75.48 kB / 435.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.3386, allocations: 251.2 kB / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3386, allocations: 0 / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3386, allocations: 0 / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3386, allocations: 0 / 435.6 MB, free: 2.348 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009636/0.3395, allocations: 482.5 kB / 436.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.3396, allocations: 8.031 kB / 436.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.224e-05/0.3396, allocations: 38.75 kB / 436.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.715e-05/0.3397, allocations: 24.8 kB / 436.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.3403, allocations: 233.5 kB / 436.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3403, allocations: 4.375 kB / 436.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.3403, allocations: 15.92 kB / 436.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.3408, allocations: 159.6 kB / 436.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3408, allocations: 3.938 kB / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3408, allocations: 0 / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.3408, allocations: 4 kB / 436.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.3409, allocations: 35.91 kB / 436.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.3416, allocations: 365.4 kB / 437 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.3419, allocations: 107.9 kB / 437.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.342, allocations: 46.55 kB / 437.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.342, allocations: 8 kB / 437.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.3422, allocations: 75.33 kB / 437.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.003e-06/0.3422, allocations: 0 / 437.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004356/0.3427, allocations: 161.4 kB / 437.4 MB, free: 420 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.3428, allocations: 162.5 kB / 437.5 MB, free: 220 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.3432, allocations: 341.8 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3432, allocations: 25.7 kB / 437.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.3434, allocations: 132.1 kB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.3434, allocations: 19.89 kB / 438 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.3435, allocations: 21.72 kB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3437, allocations: 342.8 kB / 438.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3438, allocations: 19.98 kB / 438.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.344, allocations: 94.78 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.3443, allocations: 84.22 kB / 438.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3443, allocations: 0 / 438.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004245/0.3447, allocations: 125.4 kB / 438.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.3447, allocations: 8 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3447, allocations: 0 / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3448, allocations: 7.938 kB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3449, allocations: 15.98 kB / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3449, allocations: 4.125 kB / 438.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.461e-05/0.345, allocations: 15.88 kB / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.345, allocations: 8 kB / 438.8 MB, free: 14.9 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.0001862/0.3452, allocations: 161.7 kB / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.3453, allocations: 69.5 kB / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.3456, allocations: 119.3 kB / 439.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3456, allocations: 0 / 439.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3456, allocations: 8.438 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3456, allocations: 3.938 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.3459, allocations: 216.7 kB / 439.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3459, allocations: 0 / 439.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.3459, allocations: 12 kB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3459, allocations: 0 / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3459, allocations: 7.984 kB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3459, allocations: 0 / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3459, allocations: 0 / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.3463, allocations: 174.5 kB / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.3464, allocations: 31.84 kB / 439.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.3464, allocations: 4 kB / 439.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.3465, allocations: 7.984 kB / 439.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.3465, allocations: 11.88 kB / 439.6 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.3466, allocations: 7.984 kB / 439.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003663/0.3469, allocations: 253.2 kB / 439.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3469, allocations: 0 / 439.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.3472, allocations: 35.92 kB / 439.9 MB, free: 13.71 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.002175/0.3494, allocations: 1.025 MB / 440.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.3496, allocations: 71.89 kB / 441 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3496, allocations: 0 / 441 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.41e-05/0.3497, allocations: 31.92 kB / 441 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.3502, allocations: 67.67 kB / 441.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.3534, allocations: 2.234 MB / 443.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.3538, allocations: 0.7475 MB / 444 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.3539, allocations: 33.45 kB / 444.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.3541, allocations: 63.41 kB / 444.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3541, allocations: 0 / 444.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04453/0.3986, allocations: 5.472 MB / 449.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.56, allocations: 6.812 kB / 449.6 MB, free: 4.023 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 14.240269300993532]