Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.001582/0.001582, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001395/0.001395, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.379/1.379, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2536, allocations: 53.35 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002786/0.2564, allocations: 1.557 MB / 432.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004093/0.2568, allocations: 139.5 kB / 432.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.2569, allocations: 7.875 kB / 432.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.788e-05/0.257, allocations: 11.92 kB / 432.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2571, allocations: 11.88 kB / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.2574, allocations: 39.89 kB / 432.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.2575, allocations: 43.86 kB / 432.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2576, allocations: 11.98 kB / 432.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.2576, allocations: 19.92 kB / 432.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.2577, allocations: 19.86 kB / 432.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.2577, allocations: 4 kB / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.2577, allocations: 3.938 kB / 432.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.2578, allocations: 23.92 kB / 433 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.2578, allocations: 15.88 kB / 433 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.2579, allocations: 61.36 kB / 433 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2579, allocations: 0 / 433 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2579, allocations: 0 / 433 MB, free: 4.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.2579, allocations: 4 kB / 433 MB, free: 4.695 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.0004751/0.2584, allocations: 306 kB / 433.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2585, allocations: 8.031 kB / 433.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.2585, allocations: 38.73 kB / 433.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.2585, allocations: 12.83 kB / 433.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.2588, allocations: 148.9 kB / 433.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2588, allocations: 384 / 433.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.2588, allocations: 4.375 kB / 433.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.2591, allocations: 126.4 kB / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2591, allocations: 3.938 kB / 433.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2591, allocations: 4 kB / 433.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.2591, allocations: 0 / 433.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.2592, allocations: 35.97 kB / 433.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.2597, allocations: 332.9 kB / 434 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.2598, allocations: 83.77 kB / 434.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.2599, allocations: 38.62 kB / 434.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.2599, allocations: 0 / 434.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.2599, allocations: 34.56 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2599, allocations: 0 / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003534/0.2603, allocations: 117.8 kB / 434.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.2604, allocations: 106.8 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.2605, allocations: 141.8 kB / 434.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2605, allocations: 29.64 kB / 434.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.2606, allocations: 88.14 kB / 434.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.2606, allocations: 11.94 kB / 434.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.2606, allocations: 21.7 kB / 434.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2608, allocations: 318.8 kB / 435 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.2608, allocations: 11.98 kB / 435 MB, free: 2.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.2609, allocations: 43.45 kB / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.261, allocations: 67.27 kB / 435.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.261, allocations: 0 / 435.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001738/0.2612, allocations: 93.5 kB / 435.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2612, allocations: 4 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2612, allocations: 0 / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2612, allocations: 4 kB / 435.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.428e-05/0.2613, allocations: 11.98 kB / 435.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.2613, allocations: 0 / 435.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.023e-05/0.2614, allocations: 4 kB / 435.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2614, allocations: 8 kB / 435.2 MB, free: 2.207 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.0001109/0.2615, allocations: 129.8 kB / 435.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/0.2616, allocations: 53.64 kB / 435.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.2616, allocations: 15.92 kB / 435.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.2616, allocations: 4 kB / 435.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2616, allocations: 0 / 435.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2616, allocations: 3.984 kB / 435.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.2618, allocations: 144.7 kB / 435.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2618, allocations: 0 / 435.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.2619, allocations: 7.984 kB / 435.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2619, allocations: 4 kB / 435.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.2619, allocations: 0 / 435.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2619, allocations: 4.031 kB / 435.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2619, allocations: 4 kB / 435.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.2622, allocations: 271.6 kB / 435.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.2622, allocations: 19.94 kB / 435.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.2622, allocations: 0 / 435.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.2623, allocations: 4 kB / 435.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.2624, allocations: 3.984 kB / 435.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.2624, allocations: 4 kB / 435.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.273e-05/0.2625, allocations: 110 kB / 436 MB, free: 1.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2625, allocations: 4 kB / 436 MB, free: 1.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.2627, allocations: 11.94 kB / 436 MB, free: 1.344 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.0005599/0.2633, allocations: 0.7945 MB / 436.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.2635, allocations: 55.83 kB / 436.9 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2635, allocations: 4.25 kB / 436.9 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.999e-05/0.2635, allocations: 16 kB / 436.9 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.2639, allocations: 20.02 kB / 436.9 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.2655, allocations: 1.497 MB / 438.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.057e-05/0.2656, allocations: 79.48 kB / 438.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.781e-05/0.2657, allocations: 7.984 kB / 438.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.2657, allocations: 15.44 kB / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2657, allocations: 0 / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.2938, allocations: 2.305 MB / 440.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.56, allocations: 0 / 440.8 MB, free: 12.55 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 12.852218137006275]