Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 181.8 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 47.92 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2945, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002319/0.2968, allocations: 0.893 MB / 423.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003946/0.2972, allocations: 111.7 kB / 423.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.198e-05/0.2973, allocations: 4 kB / 423.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.921e-05/0.2974, allocations: 11.86 kB / 423.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.2975, allocations: 7.938 kB / 423.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.2978, allocations: 31.89 kB / 423.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.2979, allocations: 35.98 kB / 423.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.298, allocations: 19.98 kB / 423.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.298, allocations: 11.94 kB / 423.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.2981, allocations: 27.78 kB / 423.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.2981, allocations: 4 kB / 423.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.2981, allocations: 4 kB / 423.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.2982, allocations: 19.92 kB / 423.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.2982, allocations: 27.8 kB / 423.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.2983, allocations: 51.61 kB / 423.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2983, allocations: 0 / 423.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2983, allocations: 0 / 423.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2984, allocations: 0 / 423.9 MB, free: 13.35 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004094/0.2988, allocations: 298.5 kB / 424.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2988, allocations: 12.03 kB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.2988, allocations: 38.73 kB / 424.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.2989, allocations: 8.891 kB / 424.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.2991, allocations: 142.3 kB / 424.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.2991, allocations: 384 / 424.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.2991, allocations: 8.375 kB / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.2994, allocations: 127.9 kB / 424.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2994, allocations: 3.938 kB / 424.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2994, allocations: 4 kB / 424.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2994, allocations: 3.938 kB / 424.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/0.2995, allocations: 19.88 kB / 424.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.2996, allocations: 152.7 kB / 424.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.2998, allocations: 54.72 kB / 424.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.2998, allocations: 32.89 kB / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.2998, allocations: 4 kB / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.2999, allocations: 42.5 kB / 424.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.2999, allocations: 0 / 424.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000194/0.3001, allocations: 93.55 kB / 424.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.3001, allocations: 55.41 kB / 425 MB, free: 12.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3002, allocations: 133.3 kB / 425.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3003, allocations: 25.7 kB / 425.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.3003, allocations: 88.12 kB / 425.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.3003, allocations: 8 kB / 425.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.3004, allocations: 33.67 kB / 425.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3005, allocations: 318.8 kB / 425.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.3005, allocations: 4 kB / 425.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.23e-05/0.3006, allocations: 66.8 kB / 425.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.021e-05/0.3007, allocations: 74.75 kB / 425.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3007, allocations: 0 / 425.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001268/0.3008, allocations: 85.55 kB / 425.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3008, allocations: 11.94 kB / 425.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.3008, allocations: 0 / 425.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3008, allocations: 4 kB / 425.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.958e-05/0.3008, allocations: 7.938 kB / 425.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3008, allocations: 4.25 kB / 425.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.742e-05/0.3009, allocations: 15.89 kB / 425.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.3009, allocations: 4 kB / 425.8 MB, free: 11.16 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.629e-05/0.301, allocations: 121.8 kB / 425.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.965e-05/0.3011, allocations: 77.52 kB / 426 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.3011, allocations: 12.38 kB / 426 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3011, allocations: 0 / 426 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3011, allocations: 0 / 426 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3011, allocations: 0 / 426 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.3012, allocations: 144.7 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3012, allocations: 4 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-06/0.3012, allocations: 3.938 kB / 426.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3013, allocations: 4.125 kB / 426.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3013, allocations: 4 kB / 426.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3013, allocations: 3.938 kB / 426.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3013, allocations: 4 kB / 426.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.3014, allocations: 97 kB / 426.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.3014, allocations: 23.94 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3014, allocations: 3.938 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.44e-05/0.3015, allocations: 0 / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-06/0.3015, allocations: 0 / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3015, allocations: 4 kB / 426.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.3015, allocations: 103.2 kB / 426.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3015, allocations: 0 / 426.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.3017, allocations: 12 kB / 426.4 MB, free: 10.47 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: 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.0005342/0.3023, allocations: 0.6631 MB / 427.1 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.3024, allocations: 43.91 kB / 427.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3024, allocations: 0 / 427.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-07/0.3024, allocations: 0.5625 kB / 427.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.3027, allocations: 43.89 kB / 427.2 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.304, allocations: 1.321 MB / 428.5 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.3043, allocations: 0.6961 MB / 429.2 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.374e-05/0.3043, allocations: 7.938 kB / 429.2 MB, free: 7.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.3044, allocations: 27.42 kB / 429.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3044, allocations: 0 / 429.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.3378, allocations: 1.844 MB / 431.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.99, allocations: 3.984 kB / 431.1 MB, free: 5.777 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:time,periodicClock.factor,periodicClock.resolution,previous(unitDelay1.u),assignClock1.u,assignClock1.y [Calling sys.exit(0), Time elapsed: 13.654366180002398]