Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 55.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1077, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002682/0.1103, allocations: 0.9272 MB / 427.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004272/0.1108, allocations: 127.6 kB / 427.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.1109, allocations: 0 / 427.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.111, allocations: 15.86 kB / 427.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1111, allocations: 11.86 kB / 427.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.1114, allocations: 51.83 kB / 427.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1115, allocations: 55.89 kB / 427.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.1116, allocations: 32.2 kB / 427.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.075e-05/0.1117, allocations: 31.81 kB / 427.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.1117, allocations: 31.84 kB / 427.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.1118, allocations: 8 kB / 427.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.1118, allocations: 4 kB / 427.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.107e-05/0.1119, allocations: 31.84 kB / 427.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.1119, allocations: 39.73 kB / 427.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.1121, allocations: 87.52 kB / 427.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1121, allocations: 0 / 427.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1121, allocations: 0 / 427.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1121, allocations: 0 / 427.7 MB, free: 3.344 MB / 350.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.0005211/0.1127, allocations: 399 kB / 428.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1127, allocations: 12.03 kB / 428.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.1128, allocations: 42.73 kB / 428.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.1128, allocations: 8.891 kB / 428.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.1131, allocations: 204.1 kB / 428.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1131, allocations: 8.375 kB / 428.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1131, allocations: 4.375 kB / 428.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.1136, allocations: 225 kB / 428.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1137, allocations: 3.938 kB / 428.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1137, allocations: 0 / 428.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1137, allocations: 0 / 428.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.464e-05/0.1138, allocations: 39.92 kB / 428.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.1141, allocations: 189.5 kB / 428.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.1143, allocations: 122.6 kB / 429 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.1144, allocations: 81.17 kB / 429.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.1144, allocations: 0 / 429.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1145, allocations: 30.56 kB / 429.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 8.92e-07/0.1145, allocations: 0 / 429.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003294/0.1148, allocations: 168 kB / 429.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.1149, allocations: 59.41 kB / 429.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.115, allocations: 144.1 kB / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.115, allocations: 37.64 kB / 429.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.1151, allocations: 84.47 kB / 429.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1151, allocations: 8 kB / 429.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.1152, allocations: 37.66 kB / 429.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1154, allocations: 330.8 kB / 429.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.1154, allocations: 19.98 kB / 430 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1155, allocations: 113.6 kB / 430.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.1157, allocations: 161.4 kB / 430.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1157, allocations: 0 / 430.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002336/0.1159, allocations: 153.8 kB / 430.4 MB, free: 388 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.116, allocations: 7.938 kB / 430.4 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.116, allocations: 8.031 kB / 430.4 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.116, allocations: 7.984 kB / 430.4 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-05/0.116, allocations: 11.94 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.116, allocations: 4 kB / 430.4 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.678e-05/0.1161, allocations: 15.89 kB / 430.4 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1161, allocations: 8 kB / 430.4 MB, free: 324 kB / 350.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.0001434/0.1163, allocations: 146.3 kB / 430.6 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.1164, allocations: 125.4 kB / 430.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.1165, allocations: 17.19 kB / 430.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1165, allocations: 0 / 430.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1165, allocations: 4 kB / 430.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1165, allocations: 3.984 kB / 430.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.1167, allocations: 189.5 kB / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1167, allocations: 0 / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.1167, allocations: 4 kB / 430.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1167, allocations: 3.938 kB / 430.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1167, allocations: 4 kB / 430.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1167, allocations: 0 / 430.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1167, allocations: 4 kB / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1169, allocations: 150.5 kB / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.431e-05/0.117, allocations: 108.9 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1171, allocations: 0 / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.1171, allocations: 11.94 kB / 431.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-06/0.1171, allocations: 0 / 431.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1171, allocations: 0 / 431.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.035e-05/0.1172, allocations: 113.8 kB / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1172, allocations: 4 kB / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.1175, allocations: 16 kB / 431.3 MB, free: 15.32 MB / 366.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.0007241/0.1182, allocations: 0.7436 MB / 432.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1185, allocations: 87.91 kB / 432.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1185, allocations: 0 / 432.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.1185, allocations: 0 / 432.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1189, allocations: 83.84 kB / 432.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.1207, allocations: 1.627 MB / 433.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.1212, allocations: 0.72 MB / 434.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.899e-05/0.1212, allocations: 12.64 kB / 434.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.1213, allocations: 27.42 kB / 434.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1213, allocations: 0 / 434.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.1473, allocations: 2.427 MB / 437.1 MB, free: 9.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.715, allocations: 7.922 kB / 437.1 MB, free: 9.512 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 10.403508710907772]