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.001696/0.001696, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001484/0.001484, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.398/1.398, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001519/0.001519, allocations: 59.91 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1049, allocations: 53.33 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002435/0.1074, allocations: 0.8633 MB / 427.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003605/0.1077, allocations: 115.7 kB / 427.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.1078, allocations: 3.938 kB / 427.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.051e-05/0.1079, allocations: 7.922 kB / 427.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.108, allocations: 7.938 kB / 427.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1082, allocations: 39.83 kB / 427.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.1084, allocations: 35.98 kB / 427.4 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1085, allocations: 23.92 kB / 427.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.1085, allocations: 15.92 kB / 427.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.797e-05/0.1085, allocations: 19.86 kB / 427.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1086, allocations: 4 kB / 427.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.1086, allocations: 8 kB / 427.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.1086, allocations: 11.94 kB / 427.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.1087, allocations: 27.8 kB / 427.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.1088, allocations: 51.73 kB / 427.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1088, allocations: 0 / 427.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1088, allocations: 0 / 427.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1088, allocations: 0 / 427.5 MB, free: 3.57 MB / 350.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.0004862/0.1093, allocations: 375.2 kB / 427.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1093, allocations: 8.031 kB / 427.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.1094, allocations: 38.75 kB / 428 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.1094, allocations: 12.83 kB / 428 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1097, allocations: 200.1 kB / 428.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1097, allocations: 8.375 kB / 428.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1097, allocations: 4.375 kB / 428.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.11, allocations: 123.9 kB / 428.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.11, allocations: 11.81 kB / 428.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.11, allocations: 4 kB / 428.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.11, allocations: 4 kB / 428.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.1101, allocations: 19.98 kB / 428.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.1102, allocations: 165.7 kB / 428.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1104, allocations: 54.72 kB / 428.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/0.1104, allocations: 40.89 kB / 428.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.1104, allocations: 7.938 kB / 428.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1105, allocations: 34.55 kB / 428.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1105, allocations: 0 / 428.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001942/0.1107, allocations: 89.52 kB / 428.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.1107, allocations: 59.39 kB / 428.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1109, allocations: 129.8 kB / 428.9 MB, free: 2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1109, allocations: 33.7 kB / 428.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.1109, allocations: 84.14 kB / 429 MB, free: 1.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.111, allocations: 11.94 kB / 429 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.111, allocations: 21.72 kB / 429 MB, free: 1.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1111, allocations: 318.8 kB / 429.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.1112, allocations: 11.94 kB / 429.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.1112, allocations: 62.86 kB / 429.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.738e-05/0.1113, allocations: 74.75 kB / 429.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1113, allocations: 0 / 429.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001299/0.1114, allocations: 81.52 kB / 429.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1115, allocations: 7.938 kB / 429.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1115, allocations: 8.234 kB / 429.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1115, allocations: 7.938 kB / 429.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.57e-05/0.1115, allocations: 4 kB / 429.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1115, allocations: 4 kB / 429.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.1115, allocations: 11.94 kB / 429.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1116, allocations: 4 kB / 429.6 MB, free: 1.188 MB / 350.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.521e-05/0.1117, allocations: 120.2 kB / 429.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.1118, allocations: 81.88 kB / 429.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.1118, allocations: 12.36 kB / 429.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1118, allocations: 4 kB / 429.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1118, allocations: 4 kB / 429.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1118, allocations: 0 / 429.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.1119, allocations: 165.8 kB / 430 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1119, allocations: 0 / 430 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-06/0.1119, allocations: 3.938 kB / 430 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1119, allocations: 7.922 kB / 430 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.112, allocations: 11.98 kB / 430 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.112, allocations: 0 / 430 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.112, allocations: 3.938 kB / 430 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.1121, allocations: 97.08 kB / 430.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.1122, allocations: 93.05 kB / 430.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1122, allocations: 7.938 kB / 430.2 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.526e-05/0.1122, allocations: 3.938 kB / 430.2 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-06/0.1122, allocations: 0 / 430.2 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1122, allocations: 8 kB / 430.2 MB, free: 488 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.396e-05/0.1123, allocations: 103.2 kB / 430.3 MB, free: 384 kB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1123, allocations: 0 / 430.3 MB, free: 384 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002016/0.1125, allocations: 12 kB / 430.4 MB, free: 372 kB / 350.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.0005818/0.1131, allocations: 0.667 MB / 431 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.1132, allocations: 44.42 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1132, allocations: 64 / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.1132, allocations: 4 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.1135, allocations: 39.94 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1147, allocations: 1.319 MB / 432.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1151, allocations: 0.6963 MB / 433.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.858e-05/0.1151, allocations: 4 kB / 433.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.1151, allocations: 19.42 kB / 433.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1151, allocations: 0 / 433.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.1398, allocations: 1.698 MB / 434.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.781, allocations: 11.08 kB / 434.9 MB, free: 11.8 MB / 366.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/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: 10.251567726954818]