Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008554/0.0008554, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9076/0.9076, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 324.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.236e-05, allocations: 3.125 kB / 324.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001532/0.001555, allocations: 0.9193 MB / 325.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003094/0.001864, allocations: 135.5 kB / 325.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.65e-05/0.001941, allocations: 7.938 kB / 325.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.665e-05/0.002037, allocations: 7.875 kB / 325.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.497e-05/0.002132, allocations: 19.84 kB / 325.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.002327, allocations: 39.89 kB / 325.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.002433, allocations: 63.84 kB / 325.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.002544, allocations: 32.2 kB / 325.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.002597, allocations: 39.89 kB / 325.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.329e-05/0.002631, allocations: 15.92 kB / 325.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.002658, allocations: 4 kB / 325.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.002669, allocations: 8 kB / 325.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.002742, allocations: 31.89 kB / 325.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.002775, allocations: 15.94 kB / 325.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.0029, allocations: 91.61 kB / 325.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002902, allocations: 0 / 325.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.002903, allocations: 0 / 325.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.002908, allocations: 0 / 325.9 MB, free: 14.36 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00037/0.003278, allocations: 325.9 kB / 326.3 MB, free: 14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.00332, allocations: 11.98 kB / 326.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.003355, allocations: 38.75 kB / 326.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.003383, allocations: 12.83 kB / 326.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.003593, allocations: 145.5 kB / 326.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.003604, allocations: 8.375 kB / 326.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.003616, allocations: 4.375 kB / 326.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.00394, allocations: 234 kB / 326.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.003948, allocations: 192 / 326.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.003957, allocations: 384 / 326.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.003964, allocations: 8.125 kB / 326.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.705e-05/0.004021, allocations: 35.98 kB / 326.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.004137, allocations: 152.6 kB / 326.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.004304, allocations: 114.6 kB / 327 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.004381, allocations: 76 kB / 327.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.004392, allocations: 8 kB / 327.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.004413, allocations: 34.56 kB / 327.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.004414, allocations: 0 / 327.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002337/0.004647, allocations: 153.5 kB / 327.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.004701, allocations: 63.34 kB / 327.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.212e-05/0.004793, allocations: 148.9 kB / 327.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.004804, allocations: 29.7 kB / 327.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.004841, allocations: 84.47 kB / 327.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.004855, allocations: 0 / 327.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.004888, allocations: 33.66 kB / 327.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.004971, allocations: 318.8 kB / 327.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.004985, allocations: 7.984 kB / 327.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.005008, allocations: 17.72 kB / 328 MB, free: 12.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.005035, allocations: 21.66 kB / 328 MB, free: 12.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.005038, allocations: 4 kB / 328 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.546e-05/0.005093, allocations: 57.62 kB / 328 MB, free: 12.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.005107, allocations: 11.94 kB / 328.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.005111, allocations: 0 / 328.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.005124, allocations: 8.094 kB / 328.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.128e-05/0.005135, allocations: 0 / 328.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.00514, allocations: 4 kB / 328.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.327e-05/0.005154, allocations: 3.984 kB / 328.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.005158, allocations: 0 / 328.1 MB, free: 12.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$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 (4): * Single equations (assignments): 4 * 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.886e-05/0.005227, allocations: 129.8 kB / 328.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.494e-05/0.005322, allocations: 124.3 kB / 328.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.005352, allocations: 17.12 kB / 328.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.005356, allocations: 3.938 kB / 328.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.00536, allocations: 0 / 328.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.005363, allocations: 7.938 kB / 328.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.787e-05/0.005441, allocations: 144.7 kB / 328.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005442, allocations: 0 / 328.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-06/0.005452, allocations: 3.984 kB / 328.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005454, allocations: 4 kB / 328.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.005462, allocations: 4 kB / 328.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.005464, allocations: 3.938 kB / 328.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.005465, allocations: 0 / 328.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.005584, allocations: 152.9 kB / 328.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.005623, allocations: 23.88 kB / 328.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.005638, allocations: 7.984 kB / 328.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.005653, allocations: 11.94 kB / 328.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-06/0.005655, allocations: 0 / 328.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.005662, allocations: 4 kB / 328.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.557e-05/0.005708, allocations: 107.2 kB / 328.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005708, allocations: 0 / 328.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001244/0.005832, allocations: 12 kB / 328.8 MB, free: 11.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: 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.0004017/0.006234, allocations: 0.7412 MB / 329.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.748e-05/0.006331, allocations: 47.34 kB / 329.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.006333, allocations: 4.062 kB / 329.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.006334, allocations: 4 kB / 329.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.006643, allocations: 86.19 kB / 329.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.007483, allocations: 1.302 MB / 331 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.033e-05/0.007553, allocations: 104.2 kB / 331.1 MB, free: 8.781 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.735e-05/0.007571, allocations: 4.5 kB / 331.1 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.007619, allocations: 24.44 kB / 331.1 MB, free: 8.754 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007619, allocations: 4 kB / 331.1 MB, free: 8.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.02399, allocations: 3.012 MB / 334.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/6.744, allocations: 11.94 kB / 334.2 MB, free: 5.844 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv: Error: Error opening file: Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result: [Calling sys.exit(0), Time elapsed: 8.524416614323854]