Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.0009345/0.0009345, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0014/0.0014, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8899/0.8899, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.315e-05, allocations: 2.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001607/0.00162, allocations: 0.8804 MB / 325.4 MB, free: 15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002582/0.001878, allocations: 111.6 kB / 325.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.001946, allocations: 4 kB / 325.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.818e-05/0.001985, allocations: 3.938 kB / 325.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.002096, allocations: 15.84 kB / 325.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.002283, allocations: 34.8 kB / 325.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.73e-05/0.00237, allocations: 47.89 kB / 325.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.469e-05/0.002455, allocations: 15.98 kB / 325.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.002492, allocations: 19.92 kB / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.675e-05/0.002519, allocations: 19.91 kB / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.00254, allocations: 4 kB / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.00255, allocations: 4 kB / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.002592, allocations: 15.92 kB / 325.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.002616, allocations: 8 kB / 325.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.338e-05/0.002709, allocations: 51.8 kB / 325.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002711, allocations: 0 / 325.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.002711, allocations: 7.938 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.002715, allocations: 3.938 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002771/0.002992, allocations: 290.1 kB / 326 MB, free: 14.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.003025, allocations: 15.98 kB / 326.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.725e-05/0.003052, allocations: 34.75 kB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.003074, allocations: 12.88 kB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.00323, allocations: 138.2 kB / 326.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.003239, allocations: 4.375 kB / 326.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.003247, allocations: 8.359 kB / 326.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.003443, allocations: 131.8 kB / 326.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.00345, allocations: 192 / 326.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.003459, allocations: 4.375 kB / 326.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.003466, allocations: 12.11 kB / 326.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.003497, allocations: 12 kB / 326.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.733e-05/0.003594, allocations: 132.8 kB / 326.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.003694, allocations: 66.69 kB / 326.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.003737, allocations: 36.86 kB / 326.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.003745, allocations: 0 / 326.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.003763, allocations: 34.55 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 6.71e-07/0.003764, allocations: 0 / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001448/0.003909, allocations: 89.62 kB / 326.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.003956, allocations: 63.22 kB / 326.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.554e-05/0.004031, allocations: 136.8 kB / 327 MB, free: 13.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.004041, allocations: 29.7 kB / 327 MB, free: 13.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.00407, allocations: 80.14 kB / 327.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.004083, allocations: 11.92 kB / 327.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.004108, allocations: 21.72 kB / 327.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.004178, allocations: 314.8 kB / 327.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.004187, allocations: 4 kB / 327.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.004193, allocations: 8 kB / 327.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.88e-05/0.004212, allocations: 8.859 kB / 327.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.004213, allocations: 0 / 327.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.666e-05/0.00425, allocations: 45.62 kB / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.00426, allocations: 4 kB / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.004264, allocations: 4 kB / 327.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.004275, allocations: 96 / 327.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.919e-06/0.004285, allocations: 7.938 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.004289, allocations: 0 / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-06/0.004297, allocations: 0 / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.0043, allocations: 0 / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.315e-05/0.004353, allocations: 121.8 kB / 327.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.004402, allocations: 69.64 kB / 327.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.004425, allocations: 8.438 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.004427, allocations: 7.938 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.004431, allocations: 3.938 kB / 327.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.004434, allocations: 0 / 327.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.766e-05/0.004491, allocations: 148.6 kB / 327.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.004492, allocations: 0 / 327.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-06/0.004498, allocations: 7.938 kB / 327.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.004499, allocations: 0 / 327.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.004504, allocations: 0 / 327.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.004504, allocations: 0 / 327.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.004506, allocations: 3.938 kB / 327.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.568e-05/0.004571, allocations: 93.08 kB / 327.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.0046, allocations: 19.94 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.004618, allocations: 4 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-06/0.004627, allocations: 0 / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-06/0.00463, allocations: 7.938 kB / 328 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.004633, allocations: 4 kB / 328 MB, free: 12.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.968e-05/0.004672, allocations: 103.2 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004673, allocations: 0 / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000117/0.00479, allocations: 8 kB / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002728/0.005062, allocations: 0.6592 MB / 328.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.513e-05/0.005128, allocations: 16 kB / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.005129, allocations: 3.938 kB / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.005129, allocations: 4.125 kB / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.005349, allocations: 55.38 kB / 328.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.005963, allocations: 1.169 MB / 330 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.873e-05/0.006011, allocations: 86.95 kB / 330.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.18e-05/0.006023, allocations: 96 / 330.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.006059, allocations: 28.47 kB / 330.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of SimCode: time 3.8e-07/0.00606, allocations: 0 / 330.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.01979, allocations: 2.314 MB / 332.4 MB, free: 7.68 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.815/6.835, allocations: 3.125 kB / 332.4 MB, free: 7.68 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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: 8.514246978797019]