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.0016/0.0016, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001922/0.001922, allocations: 187.1 kB / 23.72 MB, free: 4.684 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.432/1.432, 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.001445/0.001445, allocations: 51.91 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2689, 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.002411/0.2713, allocations: 0.8853 MB / 423.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.2716, allocations: 115.6 kB / 423.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.316e-05/0.2717, allocations: 0 / 423.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.302e-05/0.2718, allocations: 7.875 kB / 423.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.2719, allocations: 11.94 kB / 423.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.2722, allocations: 31.89 kB / 423.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.405e-05/0.2722, allocations: 39.92 kB / 423.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.2723, allocations: 19.98 kB / 423.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.2724, allocations: 19.92 kB / 423.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.512e-05/0.2724, allocations: 19.86 kB / 423.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2724, allocations: 4 kB / 423.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.2724, allocations: 4 kB / 423.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.2725, allocations: 15.92 kB / 423.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.2725, allocations: 27.8 kB / 423.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.2726, allocations: 55.55 kB / 423.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2727, allocations: 0 / 423.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2727, allocations: 0 / 423.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2727, 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.0003676/0.273, allocations: 302.5 kB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2731, allocations: 12.03 kB / 424.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.2731, allocations: 34.75 kB / 424.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.2731, allocations: 8.891 kB / 424.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.2733, allocations: 142.3 kB / 424.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.2734, allocations: 384 / 424.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.2734, allocations: 8.375 kB / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.2736, allocations: 131.8 kB / 424.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2736, allocations: 7.875 kB / 424.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2736, allocations: 4 kB / 424.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2737, allocations: 0 / 424.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.273e-05/0.2737, allocations: 19.97 kB / 424.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.2738, allocations: 140.7 kB / 424.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.274, allocations: 70.66 kB / 424.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.274, allocations: 32.89 kB / 424.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.274, allocations: 0 / 424.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.2741, allocations: 34.56 kB / 424.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.2741, allocations: 4 kB / 424.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001888/0.2742, allocations: 89.5 kB / 424.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.2743, allocations: 63.39 kB / 425 MB, free: 12.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.2744, allocations: 137.2 kB / 425.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2744, allocations: 25.7 kB / 425.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.2745, allocations: 84.14 kB / 425.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.2745, allocations: 4 kB / 425.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.2745, allocations: 37.66 kB / 425.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2747, allocations: 314.8 kB / 425.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.2747, allocations: 7.984 kB / 425.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/0.2748, allocations: 62.75 kB / 425.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.562e-05/0.2748, allocations: 74.8 kB / 425.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2748, allocations: 0 / 425.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001225/0.275, allocations: 89.69 kB / 425.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.275, allocations: 11.94 kB / 425.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.275, allocations: 0 / 425.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.275, allocations: 4 kB / 425.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.11e-05/0.275, allocations: 11.92 kB / 425.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.275, allocations: 0 / 425.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.2751, allocations: 11.89 kB / 425.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.2751, allocations: 8 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.066e-05/0.2752, allocations: 117.9 kB / 425.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.702e-05/0.2752, allocations: 81.52 kB / 426 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.2753, allocations: 12.38 kB / 426 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2753, allocations: 0 / 426 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.2753, allocations: 0 / 426 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.2753, allocations: 3.984 kB / 426 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.2754, allocations: 140.7 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2754, allocations: 0 / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.826e-06/0.2754, allocations: 4 kB / 426.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2754, allocations: 3.938 kB / 426.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.2754, allocations: 0 / 426.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2754, allocations: 4 kB / 426.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.2754, allocations: 0 / 426.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.2756, allocations: 109 kB / 426.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.2756, allocations: 15.95 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.2756, allocations: 11.92 kB / 426.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.2756, allocations: 0 / 426.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-06/0.2756, allocations: 0 / 426.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2756, allocations: 4 kB / 426.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.48e-05/0.2757, allocations: 103.3 kB / 426.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2757, allocations: 0 / 426.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.2759, allocations: 12 kB / 426.4 MB, free: 10.46 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.0004727/0.2764, allocations: 0.6599 MB / 427.1 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.2765, allocations: 47.92 kB / 427.1 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2765, allocations: 0 / 427.1 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.2765, allocations: 0 / 427.1 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.2768, allocations: 35.95 kB / 427.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.278, allocations: 1.332 MB / 428.5 MB, free: 8.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.2783, allocations: 0.7 MB / 429.2 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.954e-05/0.2783, allocations: 7.938 kB / 429.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.2784, allocations: 15.44 kB / 429.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2784, allocations: 0 / 429.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.3049, allocations: 1.838 MB / 431.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.8, allocations: 2.234 kB / 431.1 MB, free: 5.785 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 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.mat","/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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.203149260953069]