Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001334/0.001334, 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.0014/0.0014, allocations: 192.9 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.359/1.359, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 39.94 kB / 370.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2472, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.00279/0.25, allocations: 1.03 MB / 423.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000409/0.2504, allocations: 135.6 kB / 423.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.2505, allocations: 3.938 kB / 423.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.2506, allocations: 15.86 kB / 423.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2507, allocations: 7.875 kB / 423.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.2509, allocations: 47.89 kB / 423.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.2511, allocations: 71.77 kB / 423.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2512, allocations: 19.98 kB / 423.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.2513, allocations: 35.8 kB / 423.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.2513, allocations: 23.84 kB / 424 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.2513, allocations: 12 kB / 424 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.2514, allocations: 4 kB / 424 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.862e-05/0.2514, allocations: 31.84 kB / 424 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.2515, allocations: 27.81 kB / 424 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.2517, allocations: 93.2 kB / 424.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2517, allocations: 0 / 424.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2517, allocations: 0 / 424.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.2517, allocations: 0 / 424.1 MB, free: 12.86 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.0005053/0.2522, allocations: 329.8 kB / 424.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2522, allocations: 12.03 kB / 424.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.2523, allocations: 50.67 kB / 424.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.2523, allocations: 16.84 kB / 424.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.2526, allocations: 146.9 kB / 424.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2526, allocations: 8.375 kB / 424.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.2526, allocations: 4.375 kB / 424.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.2531, allocations: 221.6 kB / 424.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2531, allocations: 0 / 424.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2531, allocations: 4 kB / 424.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2531, allocations: 7.938 kB / 424.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.2532, allocations: 39.92 kB / 424.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.2533, allocations: 144.7 kB / 425.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.2536, allocations: 118.7 kB / 425.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2537, allocations: 69.39 kB / 425.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.2537, allocations: 7.938 kB / 425.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2537, allocations: 34.5 kB / 425.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.183e-06/0.2537, allocations: 4 kB / 425.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002969/0.254, allocations: 149.2 kB / 425.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.2541, allocations: 63.41 kB / 425.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.2542, allocations: 150 kB / 425.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2543, allocations: 29.7 kB / 425.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.2543, allocations: 88.47 kB / 425.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.2543, allocations: 15.88 kB / 425.8 MB, free: 11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.2544, allocations: 29.72 kB / 425.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2545, allocations: 322.8 kB / 426.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.2546, allocations: 23.98 kB / 426.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.2547, allocations: 120.5 kB / 426.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.2548, allocations: 153.5 kB / 426.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.2549, allocations: 7.938 kB / 426.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002329/0.2551, allocations: 161.5 kB / 426.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2551, allocations: 8 kB / 426.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2551, allocations: 4 kB / 426.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.2551, allocations: 4 kB / 426.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2552, allocations: 27.98 kB / 426.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.2553, allocations: 15.92 kB / 426.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.2553, allocations: 8 kB / 426.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2553, allocations: 8 kB / 426.7 MB, free: 10.01 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: 0 () * 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.0001194/0.2555, allocations: 141.9 kB / 426.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.2556, allocations: 121.5 kB / 426.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.2557, allocations: 17.12 kB / 427 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2557, allocations: 0 / 427 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2557, allocations: 4 kB / 427 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2557, allocations: 3.984 kB / 427 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.2558, allocations: 148.6 kB / 427.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2558, allocations: 0 / 427.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.2559, allocations: 31.92 kB / 427.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2559, allocations: 4 kB / 427.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2559, allocations: 0 / 427.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2559, allocations: 7.938 kB / 427.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2559, allocations: 0 / 427.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.2561, allocations: 148.9 kB / 427.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.2562, allocations: 23.89 kB / 427.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.2562, allocations: 8 kB / 427.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.671e-05/0.2562, allocations: 4 kB / 427.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-06/0.2562, allocations: 0 / 427.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.2562, allocations: 4 kB / 427.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.985e-05/0.2563, allocations: 111.2 kB / 427.4 MB, free: 9.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2563, allocations: 0 / 427.4 MB, free: 9.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.2565, allocations: 16 kB / 427.5 MB, free: 9.152 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: 0 () * 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.000601/0.2571, allocations: 0.7404 MB / 428.2 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.2573, allocations: 95.72 kB / 428.3 MB, free: 8.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2573, allocations: 0 / 428.3 MB, free: 8.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.2573, allocations: 0 / 428.3 MB, free: 8.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.2577, allocations: 84.09 kB / 428.4 MB, free: 8.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.2593, allocations: 1.663 MB / 430 MB, free: 6.375 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.2595, allocations: 97.17 kB / 430.1 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.335e-05/0.2595, allocations: 20.64 kB / 430.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.2596, allocations: 27.42 kB / 430.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2596, allocations: 0 / 430.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.2882, allocations: 3.021 MB / 433.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.83, allocations: 11.55 kB / 433.2 MB, free: 3.336 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.084641689900309]