Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 191.7 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.7 MB / 252.5 MB, free: 12.78 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 47.94 kB / 370.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2611, allocations: 52.2 MB / 422.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002892/0.264, allocations: 1.513 MB / 424.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003847/0.2644, allocations: 139.6 kB / 424.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.2644, allocations: 3.938 kB / 424.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.16e-05/0.2645, allocations: 7.922 kB / 424.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.34e-05/0.2646, allocations: 7.938 kB / 424.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.2648, allocations: 35.89 kB / 424.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.2649, allocations: 43.8 kB / 424.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.265, allocations: 23.77 kB / 424.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.438e-05/0.2651, allocations: 11.94 kB / 424.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.2651, allocations: 15.92 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.2651, allocations: 7.938 kB / 424.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.2651, allocations: 8 kB / 424.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.2652, allocations: 11.98 kB / 424.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.2652, allocations: 19.81 kB / 424.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.2653, allocations: 57.56 kB / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2653, allocations: 0 / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2653, allocations: 0 / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.2653, allocations: 0 / 424.5 MB, free: 12.45 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.0004315/0.2658, allocations: 306 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2658, allocations: 8.031 kB / 424.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.2659, allocations: 38.75 kB / 424.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.2659, allocations: 12.89 kB / 424.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.2661, allocations: 142.3 kB / 425 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.2662, allocations: 8.375 kB / 425 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.2662, allocations: 4.359 kB / 425 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.2664, allocations: 114.5 kB / 425.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2664, allocations: 7.938 kB / 425.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.2665, allocations: 4 kB / 425.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.2665, allocations: 0 / 425.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.2666, allocations: 31.92 kB / 425.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.267, allocations: 325 kB / 425.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.2671, allocations: 79.78 kB / 425.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.2672, allocations: 26.62 kB / 425.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.2672, allocations: 4 kB / 425.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.2672, allocations: 38.5 kB / 425.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.2672, allocations: 0 / 425.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000281/0.2675, allocations: 101.5 kB / 425.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.2676, allocations: 102.8 kB / 425.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.2677, allocations: 148.9 kB / 426 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2677, allocations: 25.7 kB / 426 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.2677, allocations: 88.12 kB / 426.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.2678, allocations: 7.938 kB / 426.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.2678, allocations: 21.67 kB / 426.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2679, allocations: 323.1 kB / 426.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.632e-05/0.268, allocations: 19.88 kB / 426.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.86e-05/0.268, allocations: 39.42 kB / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.721e-05/0.2681, allocations: 51.34 kB / 426.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2681, allocations: 0 / 426.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001388/0.2683, allocations: 73.66 kB / 426.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2683, allocations: 4 kB / 426.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2683, allocations: 3.984 kB / 426.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2683, allocations: 4 kB / 426.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.745e-05/0.2683, allocations: 3.938 kB / 426.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2683, allocations: 0 / 426.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.2684, allocations: 4 kB / 426.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.2684, allocations: 0 / 426.6 MB, free: 10.05 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.0001096/0.2685, allocations: 133.7 kB / 426.7 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.228e-05/0.2686, allocations: 49.75 kB / 426.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.2686, allocations: 15.95 kB / 426.8 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.2686, allocations: 4 kB / 426.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2686, allocations: 0 / 426.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2686, allocations: 0 / 426.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.2688, allocations: 148.6 kB / 427 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.2688, allocations: 4 kB / 427 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-06/0.2688, allocations: 0 / 427 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2688, allocations: 4 kB / 427 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.2688, allocations: 0 / 427 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.2689, allocations: 4 kB / 427 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2689, allocations: 7.969 kB / 427 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.2691, allocations: 255.5 kB / 427.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.2691, allocations: 12 kB / 427.2 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2691, allocations: 0 / 427.2 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.2692, allocations: 8.125 kB / 427.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.2693, allocations: 7.984 kB / 427.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.2693, allocations: 0 / 427.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.536e-05/0.2693, allocations: 111.2 kB / 427.4 MB, free: 9.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2693, allocations: 0 / 427.4 MB, free: 9.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.2696, allocations: 15.94 kB / 427.4 MB, free: 9.199 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.0005147/0.2701, allocations: 0.7867 MB / 428.2 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.2703, allocations: 39.91 kB / 428.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2703, allocations: 3.938 kB / 428.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.832e-05/0.2703, allocations: 15.98 kB / 428.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.2707, allocations: 32.31 kB / 428.2 MB, free: 8.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.272, allocations: 1.439 MB / 429.7 MB, free: 6.746 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.431e-05/0.2721, allocations: 79.19 kB / 429.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.335e-05/0.2722, allocations: 7.984 kB / 429.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.2722, allocations: 23.38 kB / 429.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2722, allocations: 8.031 kB / 429.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.3002, allocations: 2.255 MB / 432.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.82, allocations: 16.03 kB / 432.1 MB, free: 4.492 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.131420779041946]