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.001531/0.001531, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001721/0.001721, allocations: 193.4 kB / 18 MB, free: 5.172 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.446/1.446, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 43.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.257, allocations: 49.45 MB / 400.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002096/0.2592, allocations: 0.8546 MB / 401.1 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.2595, allocations: 116.5 kB / 401.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.2596, allocations: 5.125 kB / 401.2 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.229e-05/0.2596, allocations: 9.078 kB / 401.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.761e-05/0.2597, allocations: 5.031 kB / 401.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.2599, allocations: 31.12 kB / 401.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.29e-05/0.26, allocations: 46.03 kB / 401.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.2601, allocations: 25.03 kB / 401.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.242e-05/0.2602, allocations: 17.3 kB / 401.4 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.309e-05/0.2602, allocations: 19.17 kB / 401.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.2602, allocations: 3.281 kB / 401.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.2602, allocations: 4.531 kB / 401.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.2603, allocations: 11.25 kB / 401.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.2603, allocations: 28.55 kB / 401.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.2605, allocations: 60.61 kB / 401.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2605, allocations: 0 / 401.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2605, allocations: 0 / 401.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.2605, allocations: 0 / 401.5 MB, free: 7.496 MB / 318.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.0004028/0.2609, allocations: 373.8 kB / 401.8 MB, free: 7.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2609, allocations: 8.938 kB / 401.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.261, allocations: 35.97 kB / 401.9 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.261, allocations: 13.27 kB / 401.9 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.2612, allocations: 202.3 kB / 402.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.2613, allocations: 2.688 kB / 402.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.2613, allocations: 7.656 kB / 402.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.2615, allocations: 132.8 kB / 402.2 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2615, allocations: 3.938 kB / 402.2 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.2616, allocations: 3.938 kB / 402.2 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2616, allocations: 4 kB / 402.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.158e-05/0.2616, allocations: 15.98 kB / 402.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.2618, allocations: 169.6 kB / 402.4 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.2619, allocations: 70.75 kB / 402.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.262, allocations: 40.8 kB / 402.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.262, allocations: 0 / 402.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.2621, allocations: 42.55 kB / 402.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.2621, allocations: 0 / 402.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002013/0.2623, allocations: 85.58 kB / 402.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.2623, allocations: 55.41 kB / 402.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.2624, allocations: 129.8 kB / 402.8 MB, free: 5.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2625, allocations: 29.7 kB / 402.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.2625, allocations: 84.12 kB / 403 MB, free: 5.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.2625, allocations: 11.98 kB / 403 MB, free: 5.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.2626, allocations: 33.61 kB / 403 MB, free: 5.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2627, allocations: 318.8 kB / 403.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.2628, allocations: 4 kB / 403.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.82e-05/0.2628, allocations: 62.86 kB / 403.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.114e-05/0.2629, allocations: 70.75 kB / 403.4 MB, free: 5.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2629, allocations: 4 kB / 403.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001225/0.263, allocations: 85.5 kB / 403.5 MB, free: 5.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2631, allocations: 11.92 kB / 403.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2631, allocations: 4 kB / 403.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2631, allocations: 0 / 403.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.919e-05/0.2631, allocations: 8 kB / 403.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2631, allocations: 4.25 kB / 403.6 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.2632, allocations: 11.89 kB / 403.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.2632, allocations: 4 kB / 403.6 MB, free: 5.18 MB / 318.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.649e-05/0.2633, allocations: 129.1 kB / 403.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.801e-05/0.2634, allocations: 69.59 kB / 403.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.2634, allocations: 16.55 kB / 403.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2634, allocations: 0 / 403.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2634, allocations: 3.938 kB / 403.8 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2634, allocations: 0 / 403.8 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.2636, allocations: 173.7 kB / 404 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2636, allocations: 3.938 kB / 404 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.2636, allocations: 3.984 kB / 404 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2636, allocations: 3.938 kB / 404 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.2636, allocations: 4 kB / 404 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2636, allocations: 3.938 kB / 404 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2636, allocations: 7.984 kB / 404 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.2638, allocations: 89.08 kB / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.2638, allocations: 97.05 kB / 404.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2639, allocations: 7.938 kB / 404.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.641e-05/0.2639, allocations: 4 kB / 404.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-06/0.2639, allocations: 4 kB / 404.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.2639, allocations: 4 kB / 404.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.523e-05/0.264, allocations: 103.2 kB / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.264, allocations: 0 / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.2642, allocations: 12 kB / 404.3 MB, free: 4.355 MB / 318.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.0004938/0.2647, allocations: 0.6713 MB / 405 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.2648, allocations: 47.92 kB / 405 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2648, allocations: 0 / 405 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2648, allocations: 0 / 405 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.2651, allocations: 40.52 kB / 405.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.2663, allocations: 1.317 MB / 406.4 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.2666, allocations: 0.7 MB / 407.1 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.364e-05/0.2666, allocations: 0 / 407.1 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.2667, allocations: 19.52 kB / 407.1 MB, free: 1.383 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2667, allocations: 7.938 kB / 407.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.2877, allocations: 1.695 MB / 408.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.092, allocations: 0.625 kB / 408.8 MB, free: 15.8 MB / 334.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