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.0008378/0.0008378, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0009334/0.0009334, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8684/0.8684, allocations: 177 MB / 204.1 MB, free: 5.758 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.593e-06/1.593e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.084e-05, allocations: 2.281 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001939/0.00196, allocations: 0.9353 MB / 325.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002988/0.002259, allocations: 131.5 kB / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.113e-05/0.00234, allocations: 4 kB / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.373e-05/0.002433, allocations: 15.8 kB / 325.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.405e-05/0.002528, allocations: 7.938 kB / 325.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.002723, allocations: 47.88 kB / 325.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.957e-05/0.002822, allocations: 71.83 kB / 325.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.002926, allocations: 24.2 kB / 325.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.532e-05/0.002971, allocations: 39.89 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.964e-05/0.003001, allocations: 19.92 kB / 325.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.003022, allocations: 4 kB / 325.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.003033, allocations: 8 kB / 325.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.003098, allocations: 27.89 kB / 325.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.00313, allocations: 19.94 kB / 325.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.003241, allocations: 87.56 kB / 325.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003243, allocations: 4 kB / 325.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.003244, allocations: 0 / 325.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.003248, allocations: 0 / 325.9 MB, free: 14.47 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.0003047/0.003552, allocations: 321.9 kB / 326.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.003588, allocations: 11.98 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.003622, allocations: 42.69 kB / 326.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.003645, allocations: 8.891 kB / 326.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.003826, allocations: 145.5 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.003838, allocations: 8.375 kB / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.003848, allocations: 8.375 kB / 326.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.004121, allocations: 226.1 kB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004128, allocations: 192 / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.004137, allocations: 4.375 kB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004141, allocations: 4.125 kB / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.654e-05/0.004198, allocations: 35.92 kB / 326.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.004305, allocations: 156.6 kB / 326.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.004465, allocations: 129.5 kB / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.004543, allocations: 73.19 kB / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.004551, allocations: 0 / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.00457, allocations: 34.56 kB / 327.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 7.82e-07/0.004571, allocations: 0 / 327.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003131/0.004884, allocations: 145.5 kB / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.00493, allocations: 67.34 kB / 327.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.005009, allocations: 152.8 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.005018, allocations: 29.7 kB / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.005048, allocations: 92.47 kB / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.00506, allocations: 0 / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.005087, allocations: 29.66 kB / 327.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.005179, allocations: 310.8 kB / 327.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.005191, allocations: 8 kB / 327.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.00521, allocations: 21.7 kB / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.58e-05/0.005236, allocations: 25.66 kB / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.005238, allocations: 4 kB / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.712e-05/0.005285, allocations: 57.66 kB / 328.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.005297, allocations: 4 kB / 328.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005301, allocations: 4 kB / 328.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.005313, allocations: 3.938 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-06/0.005322, allocations: 0 / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.005327, allocations: 0 / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.005341, allocations: 4 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.005345, allocations: 0 / 328.1 MB, free: 12.14 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.383e-05/0.005409, allocations: 129.8 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.005498, allocations: 124.3 kB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.005524, allocations: 17.16 kB / 328.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.005527, allocations: 7.938 kB / 328.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.005531, allocations: 0 / 328.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.005534, allocations: 96 / 328.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.262e-05/0.005597, allocations: 140.7 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.005598, allocations: 3.984 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-06/0.005607, allocations: 8 kB / 328.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.005609, allocations: 3.984 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.005616, allocations: 7.938 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.005618, allocations: 3.938 kB / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.005619, allocations: 0 / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.005783, allocations: 156.9 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.005817, allocations: 23.88 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.005831, allocations: 4 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.348e-05/0.005845, allocations: 7.938 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-06/0.005847, allocations: 3.984 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.005851, allocations: 0 / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.297e-05/0.005894, allocations: 111.2 kB / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005894, allocations: 0 / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001198/0.006014, allocations: 12 kB / 328.8 MB, free: 11.32 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.0003677/0.006381, allocations: 0.7474 MB / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.377e-05/0.006475, allocations: 51.02 kB / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.006477, allocations: 0 / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.006477, allocations: 0 / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.006742, allocations: 91.78 kB / 329.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.007827, allocations: 1.296 MB / 331 MB, free: 9.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.849e-05/0.007885, allocations: 104.4 kB / 331.1 MB, free: 8.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.226e-05/0.007897, allocations: 0.5 kB / 331.1 MB, free: 8.898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.007938, allocations: 24.5 kB / 331.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of SimCode: time 4.7e-07/0.007939, allocations: 0 / 331.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.02246, allocations: 3.007 MB / 334.1 MB, free: 5.988 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.709/6.732, allocations: 11.86 kB / 334.1 MB, free: 5.977 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.359009452164173]