Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.001746/0.001746, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 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.002121/0.002121, allocations: 212.1 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.44/1.44, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.89 kB / 377.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2653, allocations: 53.42 MB / 431.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003371/0.2687, allocations: 1.545 MB / 432.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004864/0.2692, allocations: 155.4 kB / 432.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.2693, allocations: 4 kB / 432.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.2694, allocations: 3.938 kB / 432.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2695, allocations: 15.86 kB / 432.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.2698, allocations: 35.91 kB / 432.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.2699, allocations: 39.84 kB / 433 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.27, allocations: 12 kB / 433 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.593e-05/0.2701, allocations: 19.86 kB / 433 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.2702, allocations: 27.86 kB / 433 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.2702, allocations: 0 / 433 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.2702, allocations: 4 kB / 433 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.2702, allocations: 23.91 kB / 433.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.2703, allocations: 31.75 kB / 433.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.2704, allocations: 51.14 kB / 433.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2704, allocations: 3.984 kB / 433.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.322e-06/0.2704, allocations: 4 kB / 433.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2705, allocations: 0 / 433.2 MB, free: 4.738 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000566/0.271, allocations: 306.9 kB / 433.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2711, allocations: 8.031 kB / 433.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.2711, allocations: 42.73 kB / 433.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.2712, allocations: 8.891 kB / 433.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.2715, allocations: 141.1 kB / 433.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2715, allocations: 8.375 kB / 433.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.2715, allocations: 4.375 kB / 433.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.2718, allocations: 122.4 kB / 433.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2719, allocations: 3.938 kB / 433.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.2719, allocations: 7.984 kB / 433.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.2719, allocations: 4 kB / 433.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.272, allocations: 39.91 kB / 433.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.2726, allocations: 337 kB / 434.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.2727, allocations: 75.78 kB / 434.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.097e-05/0.2728, allocations: 34.62 kB / 434.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.2728, allocations: 7.984 kB / 434.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.2729, allocations: 38.5 kB / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.472e-06/0.2729, allocations: 0 / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003489/0.2732, allocations: 105.5 kB / 434.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/0.2733, allocations: 115.2 kB / 434.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.2734, allocations: 141.8 kB / 434.7 MB, free: 3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2735, allocations: 25.7 kB / 434.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.2735, allocations: 88.12 kB / 434.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.2735, allocations: 11.95 kB / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.2736, allocations: 17.72 kB / 434.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2737, allocations: 318.8 kB / 435.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.2738, allocations: 19.98 kB / 435.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.2739, allocations: 43.36 kB / 435.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.274, allocations: 59.34 kB / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.274, allocations: 0 / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001869/0.2742, allocations: 89.48 kB / 435.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2742, allocations: 7.938 kB / 435.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2742, allocations: 4 kB / 435.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2742, allocations: 0 / 435.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.2743, allocations: 12.12 kB / 435.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.2743, allocations: 3.984 kB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.2744, allocations: 4 kB / 435.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.2744, allocations: 4 kB / 435.4 MB, free: 2.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 0.0001199/0.2745, allocations: 129.7 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.2746, allocations: 49.75 kB / 435.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.2746, allocations: 19.89 kB / 435.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.2746, allocations: 4 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2746, allocations: 4.031 kB / 435.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2746, allocations: 4 kB / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.2749, allocations: 144.7 kB / 435.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.2749, allocations: 0 / 435.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.2749, allocations: 11.98 kB / 435.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2749, allocations: 0 / 435.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2749, allocations: 3.984 kB / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2749, allocations: 0 / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2749, allocations: 11.94 kB / 435.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.2752, allocations: 271.5 kB / 436 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.2753, allocations: 11.94 kB / 436 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.2753, allocations: 8 kB / 436 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.2754, allocations: 7.984 kB / 436 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.2754, allocations: 0 / 436 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.2754, allocations: 4 kB / 436 MB, free: 1.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.121e-05/0.2755, allocations: 114 kB / 436.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2755, allocations: 0 / 436.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.2757, allocations: 7.938 kB / 436.2 MB, free: 1.379 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0006404/0.2764, allocations: 0.7984 MB / 437 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.2766, allocations: 51.89 kB / 437 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2766, allocations: 0 / 437 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.2766, allocations: 20.3 kB / 437 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.2771, allocations: 35.02 kB / 437.1 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.2787, allocations: 1.496 MB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.2791, allocations: 0.6924 MB / 439.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.365e-05/0.2791, allocations: 7.984 kB / 439.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.2792, allocations: 19.44 kB / 439.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2792, allocations: 0 / 439.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.3093, allocations: 1.817 MB / 441.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.91, allocations: 7.484 kB / 441.1 MB, free: 12.39 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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: 13.289254107978195]