Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001293/0.001293, 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.001447/0.001447, allocations: 209.2 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.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 47.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2595, allocations: 53.37 MB / 431.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00294/0.2624, allocations: 1.526 MB / 432.6 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004143/0.2628, allocations: 143.5 kB / 432.7 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.2629, allocations: 3.938 kB / 432.7 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.09e-05/0.263, allocations: 11.88 kB / 432.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.535e-05/0.2631, allocations: 11.92 kB / 432.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.2633, allocations: 42.97 kB / 432.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.2634, allocations: 35.91 kB / 432.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2635, allocations: 15.8 kB / 432.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.759e-05/0.2636, allocations: 19.91 kB / 432.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.2636, allocations: 19.86 kB / 432.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.2636, allocations: 4 kB / 432.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.2637, allocations: 4 kB / 432.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.2637, allocations: 11.94 kB / 432.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.2638, allocations: 23.86 kB / 432.9 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.2639, allocations: 53.58 kB / 433 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2639, allocations: 0 / 433 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2639, allocations: 0 / 433 MB, free: 4.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2639, allocations: 0 / 433 MB, free: 4.684 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.0004674/0.2644, allocations: 302 kB / 433.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2644, allocations: 12.02 kB / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.2644, allocations: 38.75 kB / 433.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.2645, allocations: 8.891 kB / 433.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.2647, allocations: 142.4 kB / 433.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.2647, allocations: 4.375 kB / 433.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.2648, allocations: 384 / 433.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.265, allocations: 126.4 kB / 433.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.265, allocations: 3.938 kB / 433.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2651, allocations: 0 / 433.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.2651, allocations: 3.984 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.064e-05/0.2652, allocations: 31.92 kB / 433.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.2656, allocations: 332.9 kB / 434 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.2657, allocations: 75.84 kB / 434.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.2658, allocations: 34.56 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.2658, allocations: 4 kB / 434.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.2658, allocations: 30.56 kB / 434.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.2658, allocations: 0 / 434.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002886/0.2661, allocations: 97.81 kB / 434.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.2662, allocations: 114.7 kB / 434.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.2663, allocations: 140.5 kB / 434.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.2663, allocations: 25.7 kB / 434.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.2664, allocations: 88.12 kB / 434.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.2664, allocations: 15.88 kB / 434.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.2665, allocations: 17.72 kB / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2666, allocations: 322.8 kB / 434.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.31e-05/0.2666, allocations: 7.984 kB / 434.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.115e-05/0.2667, allocations: 39.42 kB / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.2668, allocations: 51.42 kB / 435 MB, free: 2.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2668, allocations: 0 / 435 MB, free: 2.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001442/0.2669, allocations: 77.56 kB / 435.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2669, allocations: 4 kB / 435.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.267, allocations: 4.125 kB / 435.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.267, allocations: 4.094 kB / 435.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-05/0.267, allocations: 3.938 kB / 435.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.267, allocations: 0 / 435.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.267, allocations: 11.97 kB / 435.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.267, allocations: 4 kB / 435.1 MB, free: 2.273 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[1],sample1.u[2],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.0001125/0.2672, allocations: 129.7 kB / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/0.2672, allocations: 45.64 kB / 435.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.2673, allocations: 19.91 kB / 435.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.2673, allocations: 8.031 kB / 435.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2673, allocations: 0 / 435.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2673, allocations: 0 / 435.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.2675, allocations: 148.6 kB / 435.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2675, allocations: 4 kB / 435.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-06/0.2675, allocations: 0 / 435.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2675, allocations: 4 kB / 435.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2675, allocations: 3.938 kB / 435.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2675, allocations: 4 kB / 435.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2675, allocations: 0 / 435.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.2678, allocations: 259.6 kB / 435.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.2678, allocations: 15.94 kB / 435.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2678, allocations: 0 / 435.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.2679, allocations: 11.88 kB / 435.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.268, allocations: 7.984 kB / 435.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.268, allocations: 4 kB / 435.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.505e-05/0.2681, allocations: 103.3 kB / 435.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2681, allocations: 0 / 435.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.2683, allocations: 4 kB / 435.9 MB, free: 1.434 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[1],sample1.u[2],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.0005629/0.2689, allocations: 0.7906 MB / 436.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.269, allocations: 43.91 kB / 436.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.269, allocations: 0 / 436.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.2691, allocations: 11.94 kB / 436.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.2695, allocations: 22.08 kB / 436.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.2709, allocations: 1.463 MB / 438.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.587e-05/0.271, allocations: 82 kB / 438.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.263e-05/0.2711, allocations: 7.984 kB / 438.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.2711, allocations: 15.44 kB / 438.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2711, allocations: 0 / 438.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.3006, allocations: 2.256 MB / 440.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.84, allocations: 4.062 kB / 440.6 MB, free: 12.73 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.15218236995861]