Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.001281/0.001281, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001259/0.001259, allocations: 191.4 kB / 24.49 MB, free: 3.941 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.368/1.368, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 47.92 kB / 371.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2573, allocations: 52.18 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002309/0.2596, allocations: 0.9202 MB / 424.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003499/0.2599, allocations: 127.5 kB / 424.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.26, allocations: 7.938 kB / 424.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.147e-05/0.2601, allocations: 15.86 kB / 424.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.374e-05/0.2602, allocations: 11.88 kB / 424.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.2604, allocations: 51.88 kB / 424.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.2605, allocations: 55.84 kB / 424.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2606, allocations: 28.2 kB / 424.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.854e-05/0.2607, allocations: 27.88 kB / 424.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.2607, allocations: 27.84 kB / 424.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.2607, allocations: 8 kB / 424.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.2608, allocations: 4 kB / 424.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.2608, allocations: 39.83 kB / 424.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.2609, allocations: 27.81 kB / 424.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.261, allocations: 89.83 kB / 424.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.261, allocations: 0 / 424.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.261, allocations: 0 / 424.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.261, allocations: 3.938 kB / 424.8 MB, free: 12.97 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003908/0.2614, allocations: 313.9 kB / 425.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2615, allocations: 8.031 kB / 425.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.506e-05/0.2615, allocations: 12.17 kB / 425.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.2615, allocations: 42.73 kB / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.2616, allocations: 12.84 kB / 425.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.2618, allocations: 146.3 kB / 425.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2618, allocations: 8.375 kB / 425.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2618, allocations: 4.375 kB / 425.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.2622, allocations: 218 kB / 425.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2622, allocations: 0 / 425.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.2622, allocations: 0 / 425.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2622, allocations: 8 kB / 425.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.2623, allocations: 39.91 kB / 425.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.2625, allocations: 152.7 kB / 425.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.2627, allocations: 115 kB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.2628, allocations: 72.77 kB / 425.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.2628, allocations: 7.938 kB / 425.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.2628, allocations: 38.5 kB / 426 MB, free: 11.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.2629, allocations: 0 / 426 MB, free: 11.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002947/0.2631, allocations: 157 kB / 426.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.2632, allocations: 63.34 kB / 426.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.2633, allocations: 157 kB / 426.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2634, allocations: 25.7 kB / 426.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.2634, allocations: 92.45 kB / 426.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.2634, allocations: 11.98 kB / 426.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.2635, allocations: 37.7 kB / 426.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2636, allocations: 322.8 kB / 426.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/0.2636, allocations: 16 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.2638, allocations: 117.7 kB / 426.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.2639, allocations: 153.5 kB / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.2639, allocations: 4 kB / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002217/0.2642, allocations: 161.7 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2642, allocations: 12.03 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2642, allocations: 4 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2642, allocations: 7.984 kB / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.816e-05/0.2642, allocations: 11.92 kB / 427.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2642, allocations: 4 kB / 427.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.2643, allocations: 15.94 kB / 427.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2643, allocations: 8 kB / 427.3 MB, free: 10.15 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001204/0.2644, allocations: 133.8 kB / 427.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.2646, allocations: 125.4 kB / 427.6 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.507e-05/0.2646, allocations: 29.11 kB / 427.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2646, allocations: 0 / 427.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2646, allocations: 0 / 427.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2646, allocations: 0 / 427.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.2648, allocations: 144.7 kB / 427.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2648, allocations: 0 / 427.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.2648, allocations: 3.938 kB / 427.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.2648, allocations: 3.984 kB / 427.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2648, allocations: 8 kB / 427.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2648, allocations: 0 / 427.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2648, allocations: 0 / 427.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.265, allocations: 160.8 kB / 427.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.2651, allocations: 27.81 kB / 427.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.2651, allocations: 4 kB / 427.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.412e-05/0.2651, allocations: 4 kB / 428 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-06/0.2651, allocations: 0 / 428 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.2651, allocations: 7.984 kB / 428 MB, free: 9.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.2652, allocations: 106.2 kB / 428.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2652, allocations: 0 / 428.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.2654, allocations: 16 kB / 428.1 MB, free: 9.32 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: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0006311/0.266, allocations: 0.76 MB / 428.8 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.2662, allocations: 83.84 kB / 428.9 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2662, allocations: 0 / 428.9 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.2662, allocations: 0 / 428.9 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.2666, allocations: 76.98 kB / 429 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.2681, allocations: 1.636 MB / 430.6 MB, free: 6.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.583e-05/0.2682, allocations: 104.5 kB / 430.7 MB, free: 6.445 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.067e-05/0.2682, allocations: 8.656 kB / 430.7 MB, free: 6.438 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.2682, allocations: 23.42 kB / 430.8 MB, free: 6.414 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2682, allocations: 4 kB / 430.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.292, allocations: 2.687 MB / 433.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.93, allocations: 11.92 kB / 433.5 MB, free: 3.879 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:assignClock1.n,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],integerConstant.k,integerConstant.y,integerConstant1.k,integerConstant1.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),previous(unitDelay2.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.y [Calling sys.exit(0), Time elapsed: 13.297489932039753]