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.001844/0.001844, allocations: 110 kB / 20.43 MB, free: 1.453 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.001408/0.001408, allocations: 213.6 kB / 23.74 MB, free: 4.66 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.383/1.383, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.003229/0.003229, allocations: 63.91 kB / 377.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2868, allocations: 53.41 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003428/0.2903, allocations: 1.925 MB / 433.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.2924, allocations: 1.238 MB / 434.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.2925, allocations: 7.938 kB / 434.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006588/0.2932, allocations: 159.5 kB / 434.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.2936, allocations: 163.4 kB / 434.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.2941, allocations: 179 kB / 434.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.2944, allocations: 191.5 kB / 435 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2945, allocations: 21.72 kB / 435.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2946, allocations: 79.7 kB / 435.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.2947, allocations: 87.55 kB / 435.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.2947, allocations: 8 kB / 435.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.2949, allocations: 59.95 kB / 435.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.2949, allocations: 43.84 kB / 435.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.295, allocations: 71.48 kB / 435.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.2953, allocations: 207.5 kB / 435.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2953, allocations: 3.984 kB / 435.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2953, allocations: 3.938 kB / 435.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2953, allocations: 0 / 435.6 MB, free: 2.273 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.0007259/0.2961, allocations: 458.7 kB / 436.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2961, allocations: 15.97 kB / 436.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.2962, allocations: 30.75 kB / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.2962, allocations: 24.8 kB / 436.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.2965, allocations: 213.1 kB / 436.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.2966, allocations: 4.375 kB / 436.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.2966, allocations: 8.375 kB / 436.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.2969, allocations: 150.9 kB / 436.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2969, allocations: 4 kB / 436.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2969, allocations: 7.875 kB / 436.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2969, allocations: 0 / 436.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.901e-05/0.297, allocations: 31.97 kB / 436.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.2975, allocations: 341.4 kB / 436.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.2978, allocations: 107.9 kB / 437 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.619e-05/0.2979, allocations: 38.56 kB / 437 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.2979, allocations: 4 kB / 437 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.2981, allocations: 79.33 kB / 437.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.2981, allocations: 0 / 437.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003426/0.2984, allocations: 137.5 kB / 437.2 MB, free: 464 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.2985, allocations: 140.5 kB / 437.4 MB, free: 292 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.2988, allocations: 265.1 kB / 437.6 MB, free: 20 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.2988, allocations: 29.7 kB / 437.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.2989, allocations: 120.4 kB / 437.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.2989, allocations: 23.89 kB / 437.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.299, allocations: 29.67 kB / 437.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2991, allocations: 334.8 kB / 438.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.2992, allocations: 19.94 kB / 438.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.265e-05/0.2993, allocations: 66 kB / 438.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.2994, allocations: 80.25 kB / 438.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2994, allocations: 0 / 438.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002009/0.2996, allocations: 113.6 kB / 438.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2996, allocations: 12 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2996, allocations: 0 / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2996, allocations: 0 / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.2997, allocations: 19.97 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2997, allocations: 0 / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.2998, allocations: 16.25 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.2998, allocations: 7.984 kB / 438.5 MB, free: 15.1 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.0001364/0.2999, allocations: 154.4 kB / 438.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.3, allocations: 65.55 kB / 438.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.3002, allocations: 115.2 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3002, allocations: 4 kB / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3002, allocations: 0 / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3002, allocations: 0 / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.3004, allocations: 200.6 kB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3004, allocations: 0 / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.3005, allocations: 7.984 kB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3005, allocations: 0 / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3005, allocations: 12.06 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3005, allocations: 0 / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3005, allocations: 0 / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.3007, allocations: 150.6 kB / 439.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.3008, allocations: 39.77 kB / 439.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.3008, allocations: 4 kB / 439.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.781e-05/0.3009, allocations: 12 kB / 439.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.3009, allocations: 7.922 kB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.3009, allocations: 4 kB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.3012, allocations: 204.5 kB / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3012, allocations: 0 / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.3014, allocations: 27.94 kB / 439.5 MB, free: 14.02 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.001923/0.3033, allocations: 1.006 MB / 440.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.3035, allocations: 63.91 kB / 440.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3035, allocations: 0 / 440.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.933e-05/0.3036, allocations: 32.17 kB / 440.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.304, allocations: 60.61 kB / 440.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.3062, allocations: 1.949 MB / 442.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.3066, allocations: 0.7398 MB / 443.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.103e-05/0.3067, allocations: 21.47 kB / 443.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/0.3068, allocations: 55.41 kB / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3068, allocations: 0 / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.3387, allocations: 4.801 MB / 448.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.04, allocations: 7.797 kB / 448.2 MB, free: 5.301 MB / 350.1 MB " [Timeout remaining time 649] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.507689693942666]