Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001801/0.001801, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002337/0.002337, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 51.91 kB / 377.7 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2807, allocations: 53.37 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.0023/0.283, allocations: 0.9009 MB / 432 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003889/0.2834, allocations: 139.5 kB / 432.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.2835, allocations: 7.938 kB / 432.1 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.2836, allocations: 11.86 kB / 432.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.2837, allocations: 19.88 kB / 432.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.2839, allocations: 47.88 kB / 432.2 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.2841, allocations: 63.84 kB / 432.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2842, allocations: 27.91 kB / 432.3 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.176e-05/0.2842, allocations: 27.92 kB / 432.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.2843, allocations: 35.78 kB / 432.4 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.2844, allocations: 4 kB / 432.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.2844, allocations: 8 kB / 432.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.633e-05/0.2845, allocations: 35.84 kB / 432.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.2845, allocations: 39.72 kB / 432.4 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.2847, allocations: 97.2 kB / 432.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2847, allocations: 4 kB / 432.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2847, allocations: 0 / 432.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2847, allocations: 3.938 kB / 432.6 MB, free: 5.207 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.0005338/0.2852, allocations: 341.8 kB / 432.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2853, allocations: 8.031 kB / 432.9 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.2853, allocations: 38.75 kB / 432.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.2853, allocations: 16.84 kB / 432.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.2856, allocations: 155.9 kB / 433.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2856, allocations: 4.375 kB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.2856, allocations: 16.31 kB / 433.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.2861, allocations: 242.1 kB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.2861, allocations: 3.938 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2861, allocations: 8 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2861, allocations: 0 / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.048e-05/0.2862, allocations: 47.97 kB / 433.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.2864, allocations: 160.6 kB / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.2866, allocations: 141.5 kB / 433.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.2867, allocations: 84.81 kB / 433.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.2867, allocations: 0 / 433.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2868, allocations: 30.56 kB / 433.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.62e-07/0.2868, allocations: 4 kB / 433.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003213/0.2871, allocations: 173.8 kB / 434 MB, free: 3.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.2872, allocations: 66.22 kB / 434.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.2873, allocations: 161.8 kB / 434.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.2874, allocations: 29.7 kB / 434.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.2874, allocations: 96.47 kB / 434.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.2874, allocations: 23.81 kB / 434.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.2875, allocations: 37.7 kB / 434.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2877, allocations: 322.8 kB / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.2877, allocations: 19.98 kB / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.2878, allocations: 117.7 kB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.288, allocations: 153.5 kB / 435 MB, free: 2.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.288, allocations: 0 / 435 MB, free: 2.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002417/0.2883, allocations: 161.3 kB / 435.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2883, allocations: 11.94 kB / 435.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2883, allocations: 8.438 kB / 435.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2883, allocations: 8 kB / 435.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.2885, allocations: 31.92 kB / 435.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.2885, allocations: 8 kB / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.318e-05/0.2885, allocations: 19.89 kB / 435.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2885, allocations: 8 kB / 435.3 MB, free: 2.215 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001477/0.2887, allocations: 145.8 kB / 435.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.2889, allocations: 141.4 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.2889, allocations: 25.05 kB / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.289, allocations: 11.98 kB / 435.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.289, allocations: 0 / 435.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.289, allocations: 0 / 435.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.2891, allocations: 152.7 kB / 435.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2891, allocations: 0 / 435.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.2892, allocations: 23.98 kB / 435.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.2892, allocations: 7.938 kB / 435.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2892, allocations: 4 kB / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2893, allocations: 0 / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2893, allocations: 0 / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.2895, allocations: 168.9 kB / 435.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.2896, allocations: 39.77 kB / 436 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.2896, allocations: 7.938 kB / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.2896, allocations: 4 kB / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-06/0.2896, allocations: 0 / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.2896, allocations: 4 kB / 436 MB, free: 1.418 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.2897, allocations: 119.2 kB / 436.1 MB, free: 1.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2897, allocations: 0 / 436.1 MB, free: 1.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.29, allocations: 20 kB / 436.1 MB, free: 1.281 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.0006626/0.2906, allocations: 0.7753 MB / 436.9 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.2908, allocations: 99.77 kB / 437 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2908, allocations: 0 / 437 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.2908, allocations: 0 / 437 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.2912, allocations: 90.56 kB / 437.1 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.2929, allocations: 1.722 MB / 438.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.293, allocations: 109 kB / 438.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.72e-05/0.293, allocations: 9.078 kB / 438.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.2931, allocations: 31.44 kB / 438.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of SimCode: time 4.9e-07/0.2931, allocations: 0 / 438.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.3222, allocations: 3.257 MB / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.3, allocations: 8 kB / 442.2 MB, free: 11.12 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y[2] in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:time,previous(unitDelay1.u),previous(unitDelay2.u),assignClock1.u[1],assignClock1.u[2],assignClock1.y[1] [Calling sys.exit(0), Time elapsed: 13.825524599291384]