Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 175.1 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205 MB / 221.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009603/0.0009603, allocations: 93.95 kB / 269.9 MB, free: 8.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09353/0.09353, allocations: 12.57 MB / 330.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.000424, allocations: 12 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock): time 0.001328/0.1023, allocations: 0.5943 MB / 441.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003502/0.1027, allocations: 111.7 kB / 441.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1028, allocations: 0 / 441.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.149e-05/0.1029, allocations: 3.938 kB / 441.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.1031, allocations: 4 kB / 441.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1034, allocations: 31.91 kB / 441.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1035, allocations: 35.97 kB / 441.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1036, allocations: 28.16 kB / 441.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.998e-05/0.1037, allocations: 15.86 kB / 442 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.1037, allocations: 11.94 kB / 442 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.1038, allocations: 4 kB / 442 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.1038, allocations: 0 / 442 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.1038, allocations: 19.91 kB / 442 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.1039, allocations: 19.81 kB / 442 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.104, allocations: 43.81 kB / 442.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.104, allocations: 0 / 442.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.104, allocations: 4 kB / 442.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.104, allocations: 0 / 442.1 MB, free: 15.38 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.0004559/0.1045, allocations: 359.2 kB / 442.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.1046, allocations: 15.97 kB / 442.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.1046, allocations: 38.73 kB / 442.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.1047, allocations: 12.78 kB / 442.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1049, allocations: 184.2 kB / 442.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.105, allocations: 8.375 kB / 442.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.105, allocations: 4.375 kB / 442.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.1053, allocations: 127.9 kB / 442.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1054, allocations: 3.938 kB / 442.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1054, allocations: 4 kB / 442.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1054, allocations: 4 kB / 442.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.1054, allocations: 15.94 kB / 442.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.1056, allocations: 177.5 kB / 443 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1057, allocations: 62.72 kB / 443.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.1058, allocations: 36.89 kB / 443.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1058, allocations: 0 / 443.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1058, allocations: 38.5 kB / 443.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 7.81e-07/0.1059, allocations: 0 / 443.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000177/0.106, allocations: 93.55 kB / 443.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.1061, allocations: 59.31 kB / 443.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/0.1062, allocations: 133.8 kB / 443.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1062, allocations: 29.7 kB / 443.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.1063, allocations: 88.12 kB / 443.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.1063, allocations: 0 / 443.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.1063, allocations: 17.72 kB / 443.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.1064, allocations: 322.8 kB / 443.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.1064, allocations: 8 kB / 443.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.584e-05/0.1065, allocations: 58.8 kB / 443.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.956e-05/0.1065, allocations: 74.81 kB / 444 MB, free: 13.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1065, allocations: 0 / 444 MB, free: 13.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001014/0.1066, allocations: 97.48 kB / 444.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1067, allocations: 11.94 kB / 444.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1067, allocations: 0 / 444.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1067, allocations: 4 kB / 444.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.665e-05/0.1067, allocations: 3.938 kB / 444.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1067, allocations: 4 kB / 444.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.1068, allocations: 8 kB / 444.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1068, allocations: 4 kB / 444.1 MB, free: 13.02 MB / 298.7 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 6.917e-05/0.1069, allocations: 130 kB / 444.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.1069, allocations: 77.97 kB / 444.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.107, allocations: 8.375 kB / 444.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.107, allocations: 7.938 kB / 444.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.107, allocations: 0 / 444.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.107, allocations: 0 / 444.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.721e-05/0.1071, allocations: 173.6 kB / 444.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1071, allocations: 0 / 444.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.816e-06/0.1071, allocations: 0 / 444.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1071, allocations: 7.938 kB / 444.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1071, allocations: 8 kB / 444.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1071, allocations: 0 / 444.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1071, allocations: 0 / 444.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.319e-05/0.1072, allocations: 105 kB / 444.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.1073, allocations: 96.94 kB / 444.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1073, allocations: 3.938 kB / 444.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.427e-05/0.1073, allocations: 4 kB / 444.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-06/0.1073, allocations: 0 / 444.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1073, allocations: 0 / 444.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.175e-05/0.1074, allocations: 111.2 kB / 444.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1074, allocations: 0 / 444.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.1076, allocations: 8 kB / 444.9 MB, free: 12.2 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.0003077/0.1079, allocations: 0.6553 MB / 445.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.155e-05/0.108, allocations: 43.98 kB / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.108, allocations: 0 / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.108, allocations: 0 / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1084, allocations: 43.95 kB / 445.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008158/0.1092, allocations: 1.336 MB / 446.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.1094, allocations: 0.7004 MB / 447.6 MB, free: 9.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.228e-05/0.1094, allocations: 7.953 kB / 447.6 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.1095, allocations: 15.53 kB / 447.7 MB, free: 9.211 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1095, allocations: 3.938 kB / 447.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.1203, allocations: 1.465 MB / 449.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.1205, allocations: 230.9 kB / 449.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.715, allocations: 3.906 kB / 449.4 MB, free: 7.477 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches