Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001796/0.001796, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002213/0.002213, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.506/1.506, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.108, allocations: 53.33 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003829/0.1118, allocations: 1.629 MB / 428 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1133, allocations: 0.561 MB / 428.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.1135, allocations: 3.938 kB / 428.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1136, allocations: 11.86 kB / 428.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.1138, allocations: 15.86 kB / 428.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.1143, allocations: 67.8 kB / 428.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1145, allocations: 63.66 kB / 428.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1146, allocations: 19.98 kB / 428.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.1148, allocations: 39.84 kB / 428.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.1149, allocations: 23.86 kB / 428.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.1149, allocations: 4 kB / 428.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.115, allocations: 12 kB / 428.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.115, allocations: 15.92 kB / 428.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.1151, allocations: 39.72 kB / 428.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1153, allocations: 83.53 kB / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1153, allocations: 0 / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1153, allocations: 0 / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1153, allocations: 0 / 428.9 MB, free: 2.191 MB / 350.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.0006694/0.116, allocations: 406.9 kB / 429.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.116, allocations: 12.03 kB / 429.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.1161, allocations: 30.75 kB / 429.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.1163, allocations: 28.86 kB / 429.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.1167, allocations: 208.1 kB / 429.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.1167, allocations: 4.375 kB / 429.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.1167, allocations: 12.31 kB / 429.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.117, allocations: 130 kB / 429.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.117, allocations: 0 / 429.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1171, allocations: 0 / 429.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.1171, allocations: 4 kB / 429.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1172, allocations: 43.95 kB / 429.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006536/0.1179, allocations: 373.8 kB / 430.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1181, allocations: 83.78 kB / 430.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.937e-05/0.1182, allocations: 42.61 kB / 430.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.1182, allocations: 0 / 430.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.1182, allocations: 34.56 kB / 430.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1182, allocations: 0 / 430.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004739/0.1187, allocations: 117.5 kB / 430.4 MB, free: 480 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.1188, allocations: 106.8 kB / 430.5 MB, free: 348 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.119, allocations: 162.6 kB / 430.7 MB, free: 176 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.119, allocations: 29.7 kB / 430.7 MB, free: 140 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.1191, allocations: 100.1 kB / 430.8 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1191, allocations: 3.953 kB / 430.8 MB, free: 32 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.1191, allocations: 17.72 kB / 430.8 MB, free: 8 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1193, allocations: 330.7 kB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.1194, allocations: 11.98 kB / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/0.1195, allocations: 51.34 kB / 431.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.1197, allocations: 63.34 kB / 431.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1197, allocations: 4 kB / 431.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002199/0.1199, allocations: 93.58 kB / 431.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1199, allocations: 4 kB / 431.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1199, allocations: 11.97 kB / 431.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.12, allocations: 0 / 431.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.1201, allocations: 8 kB / 431.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1201, allocations: 3.984 kB / 431.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.615e-05/0.1201, allocations: 8 kB / 431.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1201, allocations: 8.125 kB / 431.4 MB, free: 15.38 MB / 366.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: 0 () * 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.0001754/0.1203, allocations: 125.8 kB / 431.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1204, allocations: 49.59 kB / 431.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.1205, allocations: 15.86 kB / 431.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.1205, allocations: 0 / 431.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1205, allocations: 0 / 431.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1205, allocations: 4 kB / 431.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.1207, allocations: 189.5 kB / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.1208, allocations: 4 kB / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.335e-05/0.1208, allocations: 12.02 kB / 431.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1208, allocations: 0 / 431.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1208, allocations: 4 kB / 431.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1208, allocations: 0 / 431.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1208, allocations: 0 / 431.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.1212, allocations: 279.5 kB / 432.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.394e-05/0.1213, allocations: 93.05 kB / 432.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1213, allocations: 8 kB / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1214, allocations: 4 kB / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.1215, allocations: 3.984 kB / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1215, allocations: 4 kB / 432.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.793e-05/0.1216, allocations: 115.2 kB / 432.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1216, allocations: 0 / 432.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.1218, allocations: 12 kB / 432.3 MB, free: 14.37 MB / 366.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: 0 () * 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.0007194/0.1225, allocations: 0.8106 MB / 433.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1228, allocations: 51.91 kB / 433.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1228, allocations: 0 / 433.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.1228, allocations: 19.92 kB / 433.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.1233, allocations: 27.94 kB / 433.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.1252, allocations: 1.581 MB / 434.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.1256, allocations: 0.7001 MB / 435.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.259e-05/0.1257, allocations: 7.984 kB / 435.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.1258, allocations: 27.42 kB / 435.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1258, allocations: 0 / 435.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.1513, allocations: 1.953 MB / 437.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/7.888, allocations: 16.84 kB / 437.5 MB, free: 9.16 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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: 10.509510432835668]