Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001359/0.001359, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001964/0.001964, allocations: 207.6 kB / 24.53 MB, free: 4.07 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.54/1.54, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 59.89 kB / 378.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3105, allocations: 53.41 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002903/0.3134, allocations: 1.444 MB / 433.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002141/0.3136, allocations: 35.91 kB / 433.4 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.3137, allocations: 0 / 433.4 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.3137, allocations: 3.938 kB / 433.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.027e-05/0.3137, allocations: 3.938 kB / 433.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.314, allocations: 23.97 kB / 433.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.3141, allocations: 31.92 kB / 433.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3142, allocations: 8 kB / 433.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.655e-05/0.3143, allocations: 15.92 kB / 433.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.3143, allocations: 7.938 kB / 433.5 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3143, allocations: 4 kB / 433.5 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.3143, allocations: 4 kB / 433.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.3144, allocations: 7.969 kB / 433.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.3144, allocations: 15.88 kB / 433.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.3145, allocations: 27.7 kB / 433.6 MB, free: 5.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3145, allocations: 0 / 433.6 MB, free: 5.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3145, allocations: 8 kB / 433.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.3145, allocations: 0 / 433.6 MB, free: 5.062 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005113/0.315, allocations: 263.3 kB / 433.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.3151, allocations: 8.031 kB / 433.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.979e-05/0.3151, allocations: 4.188 kB / 433.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.3151, allocations: 30.75 kB / 433.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.3152, allocations: 4.938 kB / 433.9 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.3154, allocations: 130.3 kB / 434 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.3155, allocations: 4.375 kB / 434 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.3155, allocations: 4.375 kB / 434 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.3158, allocations: 115.6 kB / 434.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3158, allocations: 0 / 434.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3159, allocations: 0 / 434.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.3159, allocations: 0 / 434.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.316, allocations: 23.97 kB / 434.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.3161, allocations: 136.7 kB / 434.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.3163, allocations: 54.48 kB / 434.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.608e-05/0.3164, allocations: 24.92 kB / 434.4 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.3164, allocations: 0 / 434.4 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3164, allocations: 34.5 kB / 434.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3164, allocations: 0 / 434.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002795/0.3167, allocations: 73.62 kB / 434.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.3168, allocations: 67.34 kB / 434.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.3169, allocations: 105.8 kB / 434.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.3169, allocations: 25.7 kB / 434.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.317, allocations: 84.14 kB / 434.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.317, allocations: 4 kB / 434.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.317, allocations: 17.7 kB / 434.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3172, allocations: 314.8 kB / 435.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.3172, allocations: 8 kB / 435.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.3172, allocations: 31.42 kB / 435.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.264e-05/0.3173, allocations: 35.38 kB / 435.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3173, allocations: 4 kB / 435.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001001/0.3174, allocations: 65.58 kB / 435.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3174, allocations: 7.938 kB / 435.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3174, allocations: 4 kB / 435.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3174, allocations: 0 / 435.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.815e-05/0.3175, allocations: 7.938 kB / 435.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3175, allocations: 0 / 435.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.3175, allocations: 4.188 kB / 435.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.3175, allocations: 0 / 435.3 MB, free: 3.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.695e-05/0.3176, allocations: 122 kB / 435.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.3177, allocations: 61.61 kB / 435.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.3177, allocations: 7.688 kB / 435.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3177, allocations: 7.984 kB / 435.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3177, allocations: 0 / 435.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3177, allocations: 0 / 435.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.3179, allocations: 124.8 kB / 435.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3179, allocations: 0 / 435.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.3179, allocations: 7.938 kB / 435.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3179, allocations: 11.92 kB / 435.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.3179, allocations: 384 / 435.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3179, allocations: 0 / 435.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3179, allocations: 7.875 kB / 435.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.3181, allocations: 93.06 kB / 435.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.3181, allocations: 3.938 kB / 435.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3181, allocations: 0 / 435.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.654e-05/0.3181, allocations: 4 kB / 435.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-06/0.3181, allocations: 4 kB / 435.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3181, allocations: 3.984 kB / 435.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.558e-05/0.3182, allocations: 83.28 kB / 435.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3182, allocations: 0 / 435.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001919/0.3184, allocations: 4 kB / 435.8 MB, free: 2.562 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005687/0.3189, allocations: 0.6476 MB / 436.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.3191, allocations: 31.92 kB / 436.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3191, allocations: 0 / 436.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.3191, allocations: 0 / 436.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.3193, allocations: 19.98 kB / 436.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.3204, allocations: 1.17 MB / 437.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3207, allocations: 0.6807 MB / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.837e-05/0.3207, allocations: 0 / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.3208, allocations: 15.44 kB / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3208, allocations: 0 / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.342, allocations: 1.466 MB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.97, allocations: 4.062 kB / 439.8 MB, free: 14.49 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.72205635899445]