Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001229/0.001229, allocations: 115.9 kB / 17.74 MB, free: 5.336 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.00135/0.00135, allocations: 185.3 kB / 20.68 MB, free: 2.402 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.53/1.53, allocations: 222.9 MB / 246.4 MB, free: 4.211 MB / 190.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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 51.91 kB / 357.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1105, allocations: 49.43 MB / 406.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002695/0.1133, allocations: 1.032 MB / 408 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004429/0.1138, allocations: 143.5 kB / 408.1 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1139, allocations: 0 / 408.1 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.114, allocations: 7.875 kB / 408.1 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.1141, allocations: 15.86 kB / 408.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.1144, allocations: 43.89 kB / 408.2 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1146, allocations: 67.77 kB / 408.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1148, allocations: 47.91 kB / 408.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.735e-05/0.1148, allocations: 27.86 kB / 408.3 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.1149, allocations: 27.86 kB / 408.3 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.1149, allocations: 7.938 kB / 408.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.752e-05/0.115, allocations: 8 kB / 408.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.115, allocations: 23.92 kB / 408.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.087e-05/0.1151, allocations: 39.73 kB / 408.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.1153, allocations: 91.52 kB / 408.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1153, allocations: 0 / 408.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1153, allocations: 0 / 408.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1153, allocations: 0 / 408.5 MB, free: 5.812 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.0006138/0.1159, allocations: 414.8 kB / 408.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.116, allocations: 8.031 kB / 408.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.116, allocations: 42.73 kB / 409 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.1161, allocations: 16.84 kB / 409 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.1164, allocations: 220.6 kB / 409.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1164, allocations: 4.375 kB / 409.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.1164, allocations: 8.375 kB / 409.2 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.1168, allocations: 210.2 kB / 409.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1169, allocations: 7.984 kB / 409.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1169, allocations: 0 / 409.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1169, allocations: 4 kB / 409.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.421e-05/0.117, allocations: 31.98 kB / 409.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.1172, allocations: 193.5 kB / 409.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.1174, allocations: 122.7 kB / 409.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1176, allocations: 81.14 kB / 409.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1176, allocations: 7.938 kB / 409.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.1176, allocations: 34.56 kB / 409.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.1176, allocations: 0 / 409.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003129/0.118, allocations: 152 kB / 410 MB, free: 4.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.118, allocations: 67.34 kB / 410.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1182, allocations: 153.2 kB / 410.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1182, allocations: 29.7 kB / 410.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.1183, allocations: 84.47 kB / 410.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1183, allocations: 15.94 kB / 410.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.1184, allocations: 33.66 kB / 410.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1186, allocations: 322.8 kB / 410.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/0.1186, allocations: 19.98 kB / 410.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1187, allocations: 113.7 kB / 410.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.1189, allocations: 149.5 kB / 411 MB, free: 2.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.1189, allocations: 7.938 kB / 411 MB, free: 2.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000226/0.1192, allocations: 157.2 kB / 411.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1192, allocations: 8 kB / 411.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1192, allocations: 4 kB / 411.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1192, allocations: 7.984 kB / 411.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1193, allocations: 28.44 kB / 411.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1194, allocations: 11.98 kB / 411.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.1194, allocations: 15.94 kB / 411.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1194, allocations: 8 kB / 411.2 MB, free: 2.734 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: 0 () * 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.0001368/0.1196, allocations: 137.7 kB / 411.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.1198, allocations: 117.6 kB / 411.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.1198, allocations: 17.19 kB / 411.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1198, allocations: 3.938 kB / 411.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1198, allocations: 0 / 411.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1198, allocations: 11.92 kB / 411.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.12, allocations: 197.5 kB / 411.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.12, allocations: 0 / 411.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.074e-05/0.1201, allocations: 23.98 kB / 411.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1201, allocations: 4 kB / 411.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1201, allocations: 4 kB / 411.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1201, allocations: 0 / 411.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1202, allocations: 0 / 411.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.1204, allocations: 151.3 kB / 411.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.1205, allocations: 104.9 kB / 412 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.1205, allocations: 8 kB / 412 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.572e-05/0.1205, allocations: 0 / 412 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-06/0.1205, allocations: 7.922 kB / 412 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1205, allocations: 4 kB / 412 MB, free: 1.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.102e-05/0.1206, allocations: 112 kB / 412.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1206, allocations: 0 / 412.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000225/0.1209, allocations: 16 kB / 412.1 MB, free: 1.73 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: 0 () * 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.0006495/0.1215, allocations: 0.7478 MB / 412.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.1217, allocations: 86.8 kB / 413 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1217, allocations: 1.062 kB / 413 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.1217, allocations: 0 / 413 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.1221, allocations: 89.61 kB / 413.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.1239, allocations: 1.67 MB / 414.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.1243, allocations: 0.7123 MB / 415.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.586e-05/0.1244, allocations: 12.64 kB / 415.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.1244, allocations: 31.42 kB / 415.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1244, allocations: 0 / 415.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.1496, allocations: 2.477 MB / 418 MB, free: 11.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.373, allocations: 4.484 kB / 418 MB, free: 11.82 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y[1] in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[1] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv failed! Error: Could not read variable assignClock1.y[2] in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.297484806040302]