Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.001331/0.001331, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001507/0.001507, allocations: 190.5 kB / 23.72 MB, free: 4.684 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.355/1.355, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 47.92 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2277, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002611/0.2303, allocations: 0.9474 MB / 423.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004591/0.2307, allocations: 131.6 kB / 423.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.2308, allocations: 4 kB / 423.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.231, allocations: 11.86 kB / 423.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.2311, allocations: 11.88 kB / 423.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.2313, allocations: 47.2 kB / 423.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.2314, allocations: 75.7 kB / 423.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2316, allocations: 24.22 kB / 423.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.2316, allocations: 23.92 kB / 423.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.2317, allocations: 31.78 kB / 423.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.2317, allocations: 8 kB / 423.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.2317, allocations: 4 kB / 423.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.787e-05/0.2318, allocations: 27.92 kB / 424 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.2318, allocations: 43.72 kB / 424 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.232, allocations: 86.95 kB / 424.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.232, allocations: 3.938 kB / 424.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.232, allocations: 4 kB / 424.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.232, allocations: 0 / 424.1 MB, free: 13.15 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.0004352/0.2324, allocations: 318.9 kB / 424.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2325, allocations: 8.031 kB / 424.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.2325, allocations: 38.75 kB / 424.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.2326, allocations: 12.84 kB / 424.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.2328, allocations: 142.4 kB / 424.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2328, allocations: 12.31 kB / 424.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.2329, allocations: 12.38 kB / 424.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.2333, allocations: 210.3 kB / 424.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2333, allocations: 3.938 kB / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2333, allocations: 4 kB / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2333, allocations: 0 / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.504e-05/0.2334, allocations: 35.98 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.2335, allocations: 160.6 kB / 425 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.2338, allocations: 122.5 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.2339, allocations: 76.7 kB / 425.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.2339, allocations: 4 kB / 425.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.2339, allocations: 46.48 kB / 425.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.2339, allocations: 0 / 425.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002949/0.2342, allocations: 153.4 kB / 425.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.2343, allocations: 63.34 kB / 425.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2344, allocations: 148.2 kB / 425.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.2344, allocations: 25.7 kB / 425.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.2345, allocations: 84.47 kB / 425.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.2345, allocations: 23.92 kB / 425.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.2346, allocations: 37.72 kB / 425.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2347, allocations: 318.8 kB / 426.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.2348, allocations: 23.98 kB / 426.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.2349, allocations: 129.1 kB / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.2351, allocations: 141.6 kB / 426.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2351, allocations: 0 / 426.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002392/0.2353, allocations: 169.4 kB / 426.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2353, allocations: 7.938 kB / 426.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2353, allocations: 4 kB / 426.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2353, allocations: 8 kB / 426.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.684e-05/0.2354, allocations: 7.938 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.2354, allocations: 4 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.881e-05/0.2354, allocations: 7.938 kB / 426.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.2354, allocations: 12 kB / 426.6 MB, free: 10.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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0001288/0.2356, allocations: 142.1 kB / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.2357, allocations: 125.5 kB / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.2358, allocations: 13.12 kB / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2358, allocations: 4 kB / 426.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2358, allocations: 3.984 kB / 426.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2358, allocations: 0 / 426.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.2359, allocations: 152.7 kB / 427 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2359, allocations: 0 / 427 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.236, allocations: 19.88 kB / 427.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.236, allocations: 3.938 kB / 427.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.236, allocations: 0 / 427.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.236, allocations: 4 kB / 427.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.236, allocations: 0 / 427.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.2362, allocations: 152.5 kB / 427.2 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.2362, allocations: 35.75 kB / 427.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.2363, allocations: 4 kB / 427.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.2363, allocations: 4 kB / 427.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-06/0.2363, allocations: 0 / 427.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2363, allocations: 4 kB / 427.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.545e-05/0.2364, allocations: 107.2 kB / 427.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2364, allocations: 0 / 427.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.2366, allocations: 20 kB / 427.4 MB, free: 9.484 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0006687/0.2373, allocations: 0.7489 MB / 428.1 MB, free: 8.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.2374, allocations: 83.84 kB / 428.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2374, allocations: 0 / 428.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.2374, allocations: 1.062 kB / 428.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.2378, allocations: 83.3 kB / 428.3 MB, free: 8.547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2394, allocations: 1.643 MB / 430 MB, free: 6.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.2398, allocations: 0.7084 MB / 430.7 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.439e-05/0.2398, allocations: 8.641 kB / 430.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.2398, allocations: 27.44 kB / 430.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2398, allocations: 0 / 430.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.2733, allocations: 2.615 MB / 433.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.76, allocations: 6.297 kB / 433.3 MB, free: 3.473 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.064223210094497]