Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001994/0.001994, 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.001696/0.001696, allocations: 213.4 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.444/1.444, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 59.91 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2508, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00365/0.2545, allocations: 1.912 MB / 433.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.257, allocations: 1.332 MB / 434.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.2572, allocations: 3.938 kB / 434.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.2576, allocations: 67.67 kB / 434.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.258, allocations: 131.4 kB / 434.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.2588, allocations: 238.9 kB / 434.9 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.2591, allocations: 179.5 kB / 435 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2592, allocations: 21.75 kB / 435.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2593, allocations: 79.62 kB / 435.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.2595, allocations: 87.66 kB / 435.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.2595, allocations: 8 kB / 435.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.2597, allocations: 83.81 kB / 435.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.2598, allocations: 51.84 kB / 435.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.886e-05/0.2599, allocations: 79.47 kB / 435.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.2602, allocations: 239.4 kB / 435.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2602, allocations: 0 / 435.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2603, allocations: 0 / 435.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2603, allocations: 0 / 435.7 MB, free: 2.188 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.0007626/0.261, allocations: 490.4 kB / 436.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2611, allocations: 8.031 kB / 436.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.2611, allocations: 38.75 kB / 436.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.2612, allocations: 24.8 kB / 436.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.2616, allocations: 229.5 kB / 436.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2616, allocations: 4.312 kB / 436.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.2616, allocations: 8.375 kB / 436.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.2621, allocations: 167.7 kB / 436.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2621, allocations: 0 / 436.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2621, allocations: 7.938 kB / 436.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2621, allocations: 0 / 436.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.2622, allocations: 39.91 kB / 436.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.2628, allocations: 357.4 kB / 437 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.263, allocations: 111.9 kB / 437.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.946e-05/0.2631, allocations: 42.56 kB / 437.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.2631, allocations: 19.98 kB / 437.2 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.2633, allocations: 67.39 kB / 437.3 MB, free: 420 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.2633, allocations: 0 / 437.3 MB, free: 420 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004/0.2637, allocations: 161.7 kB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.2638, allocations: 162.2 kB / 437.6 MB, free: 52 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.2642, allocations: 337.9 kB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2642, allocations: 25.7 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.2643, allocations: 132.1 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.2643, allocations: 11.91 kB / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.2644, allocations: 29.7 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2645, allocations: 350.8 kB / 438.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.2646, allocations: 19.98 kB / 438.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.2647, allocations: 82.84 kB / 438.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.2649, allocations: 92.14 kB / 438.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2649, allocations: 0 / 438.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002425/0.2651, allocations: 133.4 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2652, allocations: 4 kB / 438.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2652, allocations: 4 kB / 438.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2652, allocations: 4.125 kB / 438.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.2653, allocations: 28.17 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.2653, allocations: 0 / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.2654, allocations: 11.94 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2654, allocations: 8 kB / 438.8 MB, free: 14.73 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.0001463/0.2655, allocations: 154.5 kB / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/0.2656, allocations: 69.45 kB / 439 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.2659, allocations: 127.4 kB / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.2659, allocations: 0 / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2659, allocations: 0 / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.2659, allocations: 4 kB / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.2661, allocations: 212.6 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2661, allocations: 0 / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/0.2662, allocations: 11.94 kB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.2662, allocations: 4 kB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.2662, allocations: 0 / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2662, allocations: 3.984 kB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2662, allocations: 4 kB / 439.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.2665, allocations: 166.6 kB / 439.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.009e-05/0.2666, allocations: 39.83 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.2666, allocations: 0 / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/0.2666, allocations: 8 kB / 439.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.2667, allocations: 7.984 kB / 439.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.2667, allocations: 11.98 kB / 439.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002455/0.267, allocations: 245.2 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.267, allocations: 0 / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.2672, allocations: 39.88 kB / 439.9 MB, free: 13.55 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.002009/0.2692, allocations: 1.018 MB / 440.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.2695, allocations: 71.84 kB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2695, allocations: 0 / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.2696, allocations: 27.98 kB / 441 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.27, allocations: 69.84 kB / 441.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.2726, allocations: 2.239 MB / 443.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.273, allocations: 0.7398 MB / 444.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.536e-05/0.2731, allocations: 33.45 kB / 444.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.2732, allocations: 63.41 kB / 444.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2732, allocations: 0 / 444.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04484/0.318, allocations: 5.482 MB / 449.6 MB, free: 3.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.14, allocations: 15.78 kB / 449.7 MB, free: 3.809 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 13.589638439938426]