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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002339/0.002339, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002084/0.002085, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001778, allocations: 50.08 kB / 300.7 MB, free: 5.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1398, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002835/0.1427, allocations: 0.8647 MB / 351 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004144/0.1431, allocations: 115.6 kB / 351.1 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1433, allocations: 3.938 kB / 351.1 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.317e-05/0.1434, allocations: 3.938 kB / 351.1 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1435, allocations: 11.92 kB / 351.2 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.1438, allocations: 41.27 kB / 351.2 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.1439, allocations: 31.98 kB / 351.2 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1441, allocations: 23.98 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.1442, allocations: 19.88 kB / 351.3 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.1442, allocations: 19.86 kB / 351.3 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.1442, allocations: 4 kB / 351.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.1443, allocations: 0 / 351.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.1443, allocations: 19.92 kB / 351.3 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.1444, allocations: 27.8 kB / 351.3 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1445, allocations: 47.81 kB / 351.4 MB, free: 3.082 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1445, allocations: 0 / 351.4 MB, free: 3.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1446, allocations: 4 kB / 351.4 MB, free: 3.078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1446, allocations: 0 / 351.4 MB, free: 3.078 MB / 286.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.0005064/0.1451, allocations: 363.5 kB / 351.7 MB, free: 2.672 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.1451, allocations: 12.03 kB / 351.8 MB, free: 2.66 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.1452, allocations: 34.75 kB / 351.8 MB, free: 2.617 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.1452, allocations: 8.844 kB / 351.8 MB, free: 2.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1455, allocations: 203.2 kB / 352 MB, free: 2.375 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1455, allocations: 4.375 kB / 352 MB, free: 2.371 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1455, allocations: 4.375 kB / 352 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.1458, allocations: 131.7 kB / 352.1 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1458, allocations: 3.938 kB / 352.1 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1459, allocations: 11.98 kB / 352.2 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1459, allocations: 3.984 kB / 352.2 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.655e-05/0.1459, allocations: 12 kB / 352.2 MB, free: 2.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.1461, allocations: 173.5 kB / 352.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1463, allocations: 70.75 kB / 352.4 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.1464, allocations: 32.86 kB / 352.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.1464, allocations: 0 / 352.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.1464, allocations: 42.55 kB / 352.5 MB, free: 1.812 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1464, allocations: 4 kB / 352.5 MB, free: 1.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002218/0.1466, allocations: 93.45 kB / 352.6 MB, free: 1.711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.1467, allocations: 59.34 kB / 352.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1469, allocations: 137.8 kB / 352.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1469, allocations: 25.7 kB / 352.8 MB, free: 1.465 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.147, allocations: 84.14 kB / 352.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.147, allocations: 7.984 kB / 352.9 MB, free: 1.371 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.147, allocations: 29.62 kB / 352.9 MB, free: 1.336 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1472, allocations: 318.8 kB / 353.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.1472, allocations: 8 kB / 353.2 MB, free: 1.008 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.428e-05/0.1473, allocations: 58.8 kB / 353.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.033e-05/0.1474, allocations: 70.81 kB / 353.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1474, allocations: 0 / 353.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001417/0.1475, allocations: 89.53 kB / 353.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1476, allocations: 15.92 kB / 353.5 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1476, allocations: 0 / 353.5 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1476, allocations: 4 kB / 353.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.544e-05/0.1476, allocations: 7.938 kB / 353.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.1476, allocations: 0 / 353.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.1477, allocations: 11.91 kB / 353.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1477, allocations: 8 kB / 353.5 MB, free: 0.6914 MB / 286.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 0.0001412/0.1479, allocations: 126 kB / 353.6 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/0.148, allocations: 73.48 kB / 353.7 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.148, allocations: 16.36 kB / 353.7 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.148, allocations: 0 / 353.7 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.148, allocations: 0 / 353.7 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.148, allocations: 0 / 353.7 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1482, allocations: 165.7 kB / 353.9 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1482, allocations: 0 / 353.9 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.1482, allocations: 7.984 kB / 353.9 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1482, allocations: 3.938 kB / 353.9 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1482, allocations: 4 kB / 353.9 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1483, allocations: 0 / 353.9 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1483, allocations: 0 / 353.9 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.1484, allocations: 105.3 kB / 354 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.1485, allocations: 96.94 kB / 354.1 MB, free: 0 / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.1486, allocations: 7.984 kB / 354.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.908e-05/0.1486, allocations: 0 / 354.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-06/0.1486, allocations: 3.938 kB / 354.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.1486, allocations: 4.188 kB / 354.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.028e-05/0.1487, allocations: 110 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1487, allocations: 3.938 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1489, allocations: 8 kB / 354.2 MB, free: 15.87 MB / 302.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.0005212/0.1495, allocations: 0.667 MB / 354.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1496, allocations: 43.98 kB / 354.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1496, allocations: 0 / 354.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.62e-07/0.1496, allocations: 4 kB / 354.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.15, allocations: 43.95 kB / 355 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.1513, allocations: 1.317 MB / 356.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1516, allocations: 0.6963 MB / 357 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.178e-05/0.1516, allocations: 0 / 357 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.1517, allocations: 15.44 kB / 357 MB, free: 12.9 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1517, allocations: 4 kB / 357 MB, free: 12.9 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.1743, allocations: 1.671 MB / 358.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.727/8.901, allocations: 10.98 kB / 358.7 MB, free: 11.32 MB / 302.1 MB (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 --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) 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) Reference file matches