Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008112/0.0008112, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8862/0.8862, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.262e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001724/0.001747, allocations: 0.8755 MB / 325.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003565/0.002103, allocations: 119.5 kB / 325.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.002187, allocations: 7.938 kB / 325.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.432e-05/0.002231, allocations: 3.938 kB / 325.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.002382, allocations: 11.88 kB / 325.6 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.002611, allocations: 35.95 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.668e-05/0.002708, allocations: 39.91 kB / 325.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.002812, allocations: 19.92 kB / 325.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.002863, allocations: 27.91 kB / 325.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.033e-05/0.002894, allocations: 15.98 kB / 325.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.002917, allocations: 4 kB / 325.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.002928, allocations: 7.938 kB / 325.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.002975, allocations: 8 kB / 325.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.003006, allocations: 19.91 kB / 325.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.003118, allocations: 47.8 kB / 325.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00312, allocations: 0 / 325.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003121, allocations: 0 / 325.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.003125, allocations: 0 / 325.8 MB, free: 14.7 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.0003455/0.003471, allocations: 297.3 kB / 326.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.003516, allocations: 11.97 kB / 326.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.00355, allocations: 42.75 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.003578, allocations: 8.891 kB / 326.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.003831, allocations: 140.1 kB / 326.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.003843, allocations: 4.375 kB / 326.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.003853, allocations: 4.375 kB / 326.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.004142, allocations: 123.9 kB / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.004151, allocations: 4.188 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.004161, allocations: 4.375 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.004168, allocations: 4.125 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.823e-05/0.004206, allocations: 19.92 kB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.004334, allocations: 136.8 kB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.004467, allocations: 58.7 kB / 326.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.004515, allocations: 36.89 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.004526, allocations: 7.938 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.004547, allocations: 30.56 kB / 326.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.004549, allocations: 3.938 kB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001776/0.004726, allocations: 97.59 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.004774, allocations: 59.34 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.266e-05/0.004856, allocations: 133.8 kB / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.004865, allocations: 25.7 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.004899, allocations: 88.14 kB / 327.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.004913, allocations: 3.953 kB / 327.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.00494, allocations: 21.7 kB / 327.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.005023, allocations: 314.8 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.005034, allocations: 4 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.005041, allocations: 4 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/0.005066, allocations: 12.86 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005068, allocations: 0 / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.856e-05/0.005116, allocations: 45.69 kB / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.005128, allocations: 4 kB / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.005133, allocations: 0 / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.005148, allocations: 0 / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.276e-05/0.005161, allocations: 3.938 kB / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.005167, allocations: 4 kB / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.046e-05/0.005177, allocations: 0 / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.005182, allocations: 32 / 327.5 MB, free: 12.78 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 6.427e-05/0.005247, allocations: 117.8 kB / 327.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.005305, allocations: 73.58 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.005339, allocations: 16.42 kB / 327.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.005341, allocations: 0 / 327.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.005347, allocations: 3.938 kB / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005351, allocations: 0 / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.052e-05/0.005431, allocations: 148.6 kB / 327.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005432, allocations: 0 / 327.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-06/0.005438, allocations: 0 / 327.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.00544, allocations: 3.984 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.005449, allocations: 8 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.00545, allocations: 0 / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.005452, allocations: 3.938 kB / 327.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.601e-05/0.005548, allocations: 104.9 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.005582, allocations: 15.94 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.005596, allocations: 4 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.271e-05/0.005609, allocations: 4 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-06/0.005613, allocations: 3.938 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.005617, allocations: 0 / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.702e-05/0.005664, allocations: 106.2 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005664, allocations: 0 / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001281/0.005792, allocations: 8 kB / 328.1 MB, free: 12.09 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.0003242/0.006116, allocations: 0.6592 MB / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.229e-05/0.006199, allocations: 23.97 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0062, allocations: 0 / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.006201, allocations: 0 / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.006491, allocations: 48.42 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.007402, allocations: 1.169 MB / 330 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.364e-05/0.007476, allocations: 91.17 kB / 330.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.491e-05/0.007501, allocations: 0 / 330.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.007554, allocations: 20.48 kB / 330.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007555, allocations: 0 / 330.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.02539, allocations: 2.323 MB / 332.5 MB, free: 7.758 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.549/6.575, allocations: 4.062 kB / 332.5 MB, free: 7.754 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.234412930905819]