Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001821/0.001821, allocations: 114 kB / 20.43 MB, free: 1.457 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.001528/0.001528, allocations: 214.4 kB / 23.74 MB, free: 4.672 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.418/1.418, allocations: 230.5 MB / 257.4 MB, free: 7.98 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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 59.89 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2519, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002769/0.2547, allocations: 1.459 MB / 432.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002751/0.2549, allocations: 99.67 kB / 432.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.255, allocations: 3.938 kB / 432.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.255, allocations: 0 / 432.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.2551, allocations: 11.92 kB / 432.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.2553, allocations: 23.92 kB / 432.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.125e-05/0.2554, allocations: 31.86 kB / 432.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2555, allocations: 7.984 kB / 432.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.2555, allocations: 11.98 kB / 432.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.2556, allocations: 7.938 kB / 432.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.2556, allocations: 4 kB / 432.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.2556, allocations: 0 / 432.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.2556, allocations: 7.938 kB / 432.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.2557, allocations: 15.92 kB / 432.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.31e-05/0.2558, allocations: 28.88 kB / 432.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2558, allocations: 4 kB / 432.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2558, allocations: 0 / 432.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2558, allocations: 0 / 432.9 MB, free: 4.965 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.0004098/0.2562, allocations: 265.7 kB / 433.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2562, allocations: 8.031 kB / 433.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.2563, allocations: 42.73 kB / 433.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.2563, allocations: 4.891 kB / 433.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.2565, allocations: 118.4 kB / 433.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2565, allocations: 8.375 kB / 433.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.2565, allocations: 16.23 kB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.2568, allocations: 99.86 kB / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2568, allocations: 7.938 kB / 433.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.2568, allocations: 0 / 433.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2569, allocations: 0 / 433.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.2569, allocations: 19.98 kB / 433.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.2571, allocations: 132.7 kB / 433.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.2572, allocations: 58.48 kB / 433.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.332e-05/0.2573, allocations: 20.92 kB / 433.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.2573, allocations: 4 kB / 433.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.2573, allocations: 34.56 kB / 433.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2573, allocations: 0 / 433.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002077/0.2575, allocations: 69.61 kB / 433.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.2576, allocations: 59.39 kB / 433.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.211e-05/0.2577, allocations: 101.9 kB / 433.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2577, allocations: 25.7 kB / 434 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.2578, allocations: 96.06 kB / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-06/0.2578, allocations: 4 kB / 434.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.2578, allocations: 13.72 kB / 434.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.258, allocations: 314.8 kB / 434.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.258, allocations: 4 kB / 434.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.258, allocations: 31.61 kB / 434.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.401e-05/0.258, allocations: 31.38 kB / 434.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.258, allocations: 0 / 434.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.226e-05/0.2581, allocations: 61.67 kB / 434.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2582, allocations: 14.44 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2582, allocations: 0 / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2582, allocations: 8.109 kB / 434.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.163e-05/0.2582, allocations: 8 kB / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.2582, allocations: 3.938 kB / 434.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.2583, allocations: 4 kB / 434.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.2583, allocations: 0 / 434.5 MB, free: 3.09 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 8.247e-05/0.2583, allocations: 117.8 kB / 434.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.2585, allocations: 53.62 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.2585, allocations: 12 kB / 434.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2585, allocations: 4 kB / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2585, allocations: 3.938 kB / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2585, allocations: 0 / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.914e-05/0.2586, allocations: 128.7 kB / 434.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2586, allocations: 0 / 434.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.2586, allocations: 8 kB / 434.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2586, allocations: 3.938 kB / 434.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2587, allocations: 3.938 kB / 434.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2587, allocations: 3.938 kB / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2587, allocations: 256 / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.2588, allocations: 89.06 kB / 435 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.2588, allocations: 7.938 kB / 435 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.2588, allocations: 11.92 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.135e-05/0.2589, allocations: 0 / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-06/0.2589, allocations: 4 kB / 435 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.2589, allocations: 0 / 435 MB, free: 2.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.804e-05/0.2589, allocations: 83.28 kB / 435.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2589, allocations: 0 / 435.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001817/0.2591, allocations: 8 kB / 435.1 MB, free: 2.473 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.0004793/0.2596, allocations: 0.6279 MB / 435.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.2597, allocations: 20.12 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2597, allocations: 4.062 kB / 435.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.2597, allocations: 7.984 kB / 435.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.2599, allocations: 16.03 kB / 435.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.261, allocations: 1.15 MB / 436.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.2613, allocations: 0.6807 MB / 437.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.509e-05/0.2613, allocations: 0 / 437.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.2614, allocations: 15.44 kB / 437.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2614, allocations: 0 / 437.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.2901, allocations: 1.359 MB / 439 MB, free: 14.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.99, allocations: 7.297 kB / 439 MB, free: 14.55 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.335689624072984]