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.001321/0.001321, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001323/0.001323, allocations: 192.8 kB / 24.5 MB, free: 4.02 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.39/1.39, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001462/0.001462, allocations: 47.92 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2497, allocations: 52.18 MB / 423.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002309/0.252, allocations: 0.9513 MB / 424.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003577/0.2523, allocations: 131.6 kB / 424.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.2524, allocations: 0 / 424.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2525, allocations: 7.875 kB / 424.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.767e-05/0.2526, allocations: 15.86 kB / 424.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.2529, allocations: 51.89 kB / 424.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.253, allocations: 67.77 kB / 424.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2531, allocations: 28.22 kB / 424.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.039e-05/0.2532, allocations: 19.92 kB / 424.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.2532, allocations: 35.78 kB / 424.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.2532, allocations: 4 kB / 424.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.2532, allocations: 4 kB / 424.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.2533, allocations: 31.91 kB / 424.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.2534, allocations: 39.73 kB / 424.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.2535, allocations: 91.03 kB / 424.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2535, allocations: 4 kB / 424.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.2535, allocations: 0 / 424.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2535, allocations: 0 / 424.9 MB, free: 13.13 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.0003987/0.2539, allocations: 315.2 kB / 425.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2539, allocations: 12.03 kB / 425.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.525e-05/0.254, allocations: 192 / 425.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.254, allocations: 42.73 kB / 425.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.254, allocations: 12.84 kB / 425.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.2543, allocations: 158.3 kB / 425.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.2543, allocations: 8.375 kB / 425.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.2543, allocations: 8.375 kB / 425.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.2547, allocations: 214 kB / 425.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2547, allocations: 4 kB / 425.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2547, allocations: 4 kB / 425.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2547, allocations: 0 / 425.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.624e-05/0.2548, allocations: 35.92 kB / 425.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.255, allocations: 160.6 kB / 425.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.2552, allocations: 126.6 kB / 426 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.2553, allocations: 76.42 kB / 426 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.2553, allocations: 0 / 426 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.2553, allocations: 38.5 kB / 426.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.2553, allocations: 4 kB / 426.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002953/0.2556, allocations: 149.5 kB / 426.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.2557, allocations: 63.39 kB / 426.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.2558, allocations: 141.8 kB / 426.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2558, allocations: 33.64 kB / 426.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.2559, allocations: 88.45 kB / 426.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.2559, allocations: 11.95 kB / 426.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.256, allocations: 37.7 kB / 426.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2561, allocations: 322.8 kB / 426.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/0.2561, allocations: 19.98 kB / 426.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2562, allocations: 117.7 kB / 427 MB, free: 10.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.2564, allocations: 149.5 kB / 427.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2564, allocations: 0 / 427.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002164/0.2566, allocations: 165.2 kB / 427.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2566, allocations: 5.406 kB / 427.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2566, allocations: 4 kB / 427.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2567, allocations: 4 kB / 427.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.72e-05/0.2567, allocations: 15.92 kB / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.2567, allocations: 4.5 kB / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.2567, allocations: 11.94 kB / 427.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.2568, allocations: 16 kB / 427.4 MB, free: 10.31 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.0001273/0.2569, allocations: 137.8 kB / 427.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.257, allocations: 125.4 kB / 427.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.2571, allocations: 17.12 kB / 427.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2571, allocations: 4 kB / 427.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2571, allocations: 0 / 427.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2571, allocations: 4 kB / 427.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.2572, allocations: 152.7 kB / 427.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2572, allocations: 0 / 427.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.2572, allocations: 19.86 kB / 427.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2572, allocations: 0 / 427.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2573, allocations: 0 / 427.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.2573, allocations: 4 kB / 427.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2573, allocations: 0 / 427.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.2574, allocations: 152.3 kB / 428 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.2575, allocations: 35.8 kB / 428 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.2575, allocations: 8 kB / 428.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.2575, allocations: 3.984 kB / 428.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-06/0.2575, allocations: 0 / 428.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.2576, allocations: 11.94 kB / 428.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.153e-05/0.2576, allocations: 106.1 kB / 428.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2576, allocations: 0 / 428.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.2579, allocations: 16 kB / 428.2 MB, free: 9.461 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.0006061/0.2585, allocations: 0.7489 MB / 428.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.2586, allocations: 88.59 kB / 429 MB, free: 8.598 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2586, allocations: 320 / 429 MB, free: 8.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.2586, allocations: 4 kB / 429 MB, free: 8.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.259, allocations: 71.92 kB / 429.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2606, allocations: 1.639 MB / 430.7 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.2609, allocations: 0.7084 MB / 431.4 MB, free: 5.977 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.109e-05/0.2609, allocations: 4.656 kB / 431.5 MB, free: 5.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.261, allocations: 35.42 kB / 431.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.261, allocations: 0 / 431.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.2833, allocations: 2.657 MB / 434.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.62, allocations: 4.062 kB / 434.1 MB, free: 3.426 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.037639540969394]