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.001378/0.001378, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001603/0.001603, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.371/1.371, allocations: 230.6 MB / 258.3 MB, free: 8.023 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 43.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2535, allocations: 53.37 MB / 431.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002178/0.2557, allocations: 0.9203 MB / 432.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003717/0.256, allocations: 151.5 kB / 433 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.2561, allocations: 0 / 433 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.2562, allocations: 19.8 kB / 433 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.2564, allocations: 7.938 kB / 433 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.2566, allocations: 47.89 kB / 433.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.2567, allocations: 67.77 kB / 433.1 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2568, allocations: 31.97 kB / 433.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.2569, allocations: 27.86 kB / 433.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.594e-05/0.2569, allocations: 35.84 kB / 433.2 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.257, allocations: 4 kB / 433.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.257, allocations: 4 kB / 433.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.257, allocations: 43.83 kB / 433.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.2571, allocations: 35.75 kB / 433.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.2573, allocations: 107.8 kB / 433.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2573, allocations: 0 / 433.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2573, allocations: 0 / 433.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.2573, allocations: 0 / 433.4 MB, free: 5.34 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.0004753/0.2577, allocations: 341.7 kB / 433.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2578, allocations: 8.031 kB / 433.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.886e-05/0.2578, allocations: 12.17 kB / 433.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.2578, allocations: 42.75 kB / 433.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.2579, allocations: 12.84 kB / 433.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.2581, allocations: 155.9 kB / 434 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2581, allocations: 8.375 kB / 434 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.2581, allocations: 4.375 kB / 434 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.2585, allocations: 258.2 kB / 434.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2585, allocations: 0 / 434.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2585, allocations: 0 / 434.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2585, allocations: 4 kB / 434.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-05/0.2586, allocations: 43.97 kB / 434.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.2588, allocations: 168.6 kB / 434.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.259, allocations: 140.5 kB / 434.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2591, allocations: 84.84 kB / 434.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.2591, allocations: 0 / 434.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.2592, allocations: 38.5 kB / 434.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.2592, allocations: 0 / 434.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003021/0.2595, allocations: 175.6 kB / 434.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.2595, allocations: 67.41 kB / 434.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.2597, allocations: 161.9 kB / 435.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.2597, allocations: 29.7 kB / 435.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.2598, allocations: 92.45 kB / 435.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.2598, allocations: 11.95 kB / 435.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.2598, allocations: 37.7 kB / 435.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.26, allocations: 322.8 kB / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.26, allocations: 27.98 kB / 435.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.2601, allocations: 120.4 kB / 435.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.2603, allocations: 153.5 kB / 435.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2603, allocations: 4 kB / 435.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002128/0.2605, allocations: 153.3 kB / 436 MB, free: 2.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2605, allocations: 11.94 kB / 436 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2605, allocations: 4.5 kB / 436 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2605, allocations: 8 kB / 436.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.2606, allocations: 31.92 kB / 436.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.2606, allocations: 7.938 kB / 436.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.867e-05/0.2607, allocations: 19.89 kB / 436.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.2607, allocations: 8 kB / 436.1 MB, free: 2.34 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.0001236/0.2608, allocations: 149.7 kB / 436.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.261, allocations: 141.4 kB / 436.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.2611, allocations: 25.05 kB / 436.4 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2611, allocations: 4 kB / 436.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2611, allocations: 0 / 436.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2611, allocations: 4 kB / 436.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.2612, allocations: 164.6 kB / 436.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2612, allocations: 0 / 436.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.2613, allocations: 31.98 kB / 436.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2613, allocations: 3.938 kB / 436.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2613, allocations: 0 / 436.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2613, allocations: 3.938 kB / 436.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2613, allocations: 4 kB / 436.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.2615, allocations: 167.8 kB / 436.8 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.2616, allocations: 35.77 kB / 436.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.2616, allocations: 4 kB / 436.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.03e-05/0.2616, allocations: 4 kB / 436.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-06/0.2616, allocations: 0 / 436.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2616, allocations: 4 kB / 436.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.188e-05/0.2617, allocations: 115.2 kB / 437 MB, free: 1.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2617, allocations: 4 kB / 437 MB, free: 1.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.2619, allocations: 16 kB / 437 MB, free: 1.402 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.000606/0.2626, allocations: 0.7684 MB / 437.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.2627, allocations: 107.8 kB / 437.9 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2627, allocations: 4 kB / 437.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2627, allocations: 0 / 437.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.2631, allocations: 90.66 kB / 438 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.2647, allocations: 1.722 MB / 439.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.265, allocations: 0.7201 MB / 440.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.327e-05/0.2651, allocations: 9.078 kB / 440.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.2651, allocations: 35.42 kB / 440.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2651, allocations: 3.938 kB / 440.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.2882, allocations: 2.853 MB / 443.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.65, allocations: 15.19 kB / 443.3 MB, free: 11.01 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:assignClock1.n,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const.k,const.y,const1.k,const1.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),previous(unitDelay2.u),sum1.k[1],sum1.k[2],sum1.nu,sum1.u[1],sum1.u[2],sum1.y,sum2.k[1],sum2.k[2],sum2.nu,sum2.u[1],sum2.u[2],sum2.y,time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start [Calling sys.exit(0), Time elapsed: 13.087017986981664]