Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001758/0.001758, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001911/0.001911, allocations: 210.9 kB / 24.51 MB, free: 3.941 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.482/1.482, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 55.91 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3761, allocations: 53.4 MB / 431.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003271/0.3794, allocations: 1.462 MB / 433.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003504/0.3797, allocations: 91.7 kB / 433.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.3798, allocations: 4 kB / 433.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.3798, allocations: 11.86 kB / 433.5 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.3799, allocations: 3.938 kB / 433.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.3802, allocations: 19.98 kB / 433.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3803, allocations: 23.92 kB / 433.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3804, allocations: 11.98 kB / 433.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.38e-05/0.3805, allocations: 11.94 kB / 433.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.959e-05/0.3805, allocations: 15.91 kB / 433.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3805, allocations: 0 / 433.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.3805, allocations: 4 kB / 433.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.3806, allocations: 4 kB / 433.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.3806, allocations: 11.94 kB / 433.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.3807, allocations: 23.91 kB / 433.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3807, allocations: 3.938 kB / 433.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3807, allocations: 4 kB / 433.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3807, allocations: 0 / 433.6 MB, free: 4.773 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.0005233/0.3813, allocations: 256.6 kB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.3813, allocations: 8.031 kB / 433.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.966e-05/0.3813, allocations: 4.188 kB / 433.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.3814, allocations: 38.73 kB / 433.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.3814, allocations: 4.938 kB / 433.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.3817, allocations: 122.4 kB / 434 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.3817, allocations: 384 / 434 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.3817, allocations: 8.359 kB / 434 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.382, allocations: 103.6 kB / 434.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.382, allocations: 0 / 434.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.382, allocations: 0 / 434.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.382, allocations: 0 / 434.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.3821, allocations: 15.92 kB / 434.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.3823, allocations: 128.7 kB / 434.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.3824, allocations: 54.55 kB / 434.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.3825, allocations: 20.92 kB / 434.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3825, allocations: 3.938 kB / 434.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3826, allocations: 38.5 kB / 434.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3826, allocations: 0 / 434.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002179/0.3828, allocations: 69.56 kB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.3828, allocations: 55.41 kB / 434.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.3829, allocations: 101.9 kB / 434.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.3829, allocations: 25.7 kB / 434.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.383, allocations: 84.12 kB / 434.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.468e-06/0.383, allocations: 8 kB / 434.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.383, allocations: 17.72 kB / 434.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3832, allocations: 314.8 kB / 435 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.3832, allocations: 4 kB / 435.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.3832, allocations: 27.42 kB / 435.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.976e-05/0.3833, allocations: 35.38 kB / 435.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3833, allocations: 0 / 435.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.12e-05/0.3833, allocations: 61.56 kB / 435.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3834, allocations: 7.938 kB / 435.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3834, allocations: 0 / 435.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3834, allocations: 4 kB / 435.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.337e-05/0.3834, allocations: 256 / 435.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3834, allocations: 4 kB / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.3835, allocations: 4 kB / 435.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3835, allocations: 4 kB / 435.2 MB, free: 2.949 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.501e-05/0.3836, allocations: 118 kB / 435.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-05/0.3837, allocations: 65.52 kB / 435.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.3837, allocations: 3.688 kB / 435.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3837, allocations: 4 kB / 435.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3837, allocations: 0 / 435.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3837, allocations: 0 / 435.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.3838, allocations: 124.8 kB / 435.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3838, allocations: 0 / 435.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.3838, allocations: 0 / 435.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3838, allocations: 3.938 kB / 435.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3838, allocations: 4 kB / 435.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3838, allocations: 4 kB / 435.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3838, allocations: 3.938 kB / 435.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.384, allocations: 81.05 kB / 435.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.384, allocations: 11.89 kB / 435.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.384, allocations: 384 / 435.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.785e-05/0.384, allocations: 3.938 kB / 435.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-06/0.384, allocations: 4 kB / 435.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.384, allocations: 4 kB / 435.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.069e-05/0.3841, allocations: 79.28 kB / 435.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3841, allocations: 0 / 435.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001855/0.3843, allocations: 11.98 kB / 435.7 MB, free: 2.352 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0004921/0.3848, allocations: 0.6202 MB / 436.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.3849, allocations: 27.92 kB / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3849, allocations: 0 / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.3849, allocations: 0 / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.3851, allocations: 22.3 kB / 436.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.3864, allocations: 1.154 MB / 437.5 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.927e-05/0.3864, allocations: 63.34 kB / 437.6 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.723e-05/0.3864, allocations: 0 / 437.6 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.3865, allocations: 15.44 kB / 437.6 MB, free: 312 kB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3865, allocations: 0 / 437.6 MB, free: 312 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.4093, allocations: 1.393 MB / 439 MB, free: 15.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.08, allocations: 11.05 kB / 439 MB, free: 15.02 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.719877017079853]