Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001968/0.001968, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00256/0.00256, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 59.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1091, allocations: 53.37 MB / 426.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003202/0.1123, allocations: 1.89 MB / 428.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000843/0.1131, allocations: 494.8 kB / 428.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.716e-05/0.1132, allocations: 4 kB / 428.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.1133, allocations: 15.8 kB / 428.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.038e-05/0.1134, allocations: 27.78 kB / 428.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.1135, allocations: 35.95 kB / 428.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.1137, allocations: 103.6 kB / 428.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1138, allocations: 29.39 kB / 428.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.1139, allocations: 35.86 kB / 428.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.114, allocations: 51.75 kB / 429 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.114, allocations: 8 kB / 429 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.79e-05/0.114, allocations: 8 kB / 429 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.1141, allocations: 19.94 kB / 429 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.1141, allocations: 47.73 kB / 429.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1143, allocations: 107.5 kB / 429.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1143, allocations: 0 / 429.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1143, allocations: 0 / 429.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1143, allocations: 0 / 429.2 MB, free: 1.777 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005702/0.1149, allocations: 407.2 kB / 429.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1149, allocations: 15.97 kB / 429.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.115, allocations: 38.73 kB / 429.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.115, allocations: 16.89 kB / 429.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1152, allocations: 196.2 kB / 429.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1152, allocations: 8.562 kB / 429.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.1153, allocations: 12.12 kB / 429.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.1155, allocations: 115.3 kB / 430 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1155, allocations: 0 / 430 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1156, allocations: 8 kB / 430 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1156, allocations: 0 / 430 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.1158, allocations: 79.88 kB / 430.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.1165, allocations: 0.5247 MB / 430.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.1167, allocations: 78.59 kB / 430.7 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1168, allocations: 40.83 kB / 430.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.1168, allocations: 0 / 430.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1168, allocations: 34.5 kB / 430.7 MB, free: 32 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1168, allocations: 0 / 430.7 MB, free: 32 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004255/0.1172, allocations: 129.9 kB / 430.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1173, allocations: 51.41 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1174, allocations: 126.6 kB / 431 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1174, allocations: 29.7 kB / 431.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.1175, allocations: 112 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.1175, allocations: 31.69 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.1176, allocations: 29.7 kB / 431.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1177, allocations: 318.8 kB / 431.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1178, allocations: 39.97 kB / 431.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1179, allocations: 64.2 kB / 431.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.1182, allocations: 108.2 kB / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1182, allocations: 0 / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003041/0.1185, allocations: 137.4 kB / 431.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1185, allocations: 4 kB / 431.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1185, allocations: 8.125 kB / 431.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1185, allocations: 0 / 431.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1187, allocations: 31.92 kB / 431.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.1187, allocations: 8 kB / 431.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.1188, allocations: 15.94 kB / 432 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1188, allocations: 4 kB / 432 MB, free: 14.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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 9.647e-05/0.1189, allocations: 121.7 kB / 432.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.1189, allocations: 11.95 kB / 432.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.119, allocations: 16.38 kB / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.119, allocations: 3.984 kB / 432.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.119, allocations: 3.984 kB / 432.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.119, allocations: 0 / 432.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.1192, allocations: 197.6 kB / 432.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1192, allocations: 0 / 432.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.1193, allocations: 27.91 kB / 432.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1193, allocations: 4 kB / 432.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1193, allocations: 0 / 432.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1193, allocations: 0 / 432.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1193, allocations: 4 kB / 432.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.1197, allocations: 231.3 kB / 432.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.1198, allocations: 85.06 kB / 432.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1198, allocations: 4 kB / 432.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.1199, allocations: 8.031 kB / 432.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1199, allocations: 8 kB / 432.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.1199, allocations: 0 / 432.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.895e-05/0.12, allocations: 104.7 kB / 432.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.12, allocations: 0 / 432.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.1202, allocations: 23.88 kB / 432.8 MB, free: 13.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * 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 (7): * Single equations (assignments): 7 * 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.0007243/0.121, allocations: 0.767 MB / 433.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.1213, allocations: 79.97 kB / 433.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1213, allocations: 0 / 433.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.1214, allocations: 40.16 kB / 433.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1217, allocations: 25.05 kB / 433.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.1239, allocations: 1.72 MB / 435.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.1243, allocations: 0.708 MB / 436.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.789e-05/0.1243, allocations: 4.438 kB / 436.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.1244, allocations: 27.53 kB / 436.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1244, allocations: 0 / 436.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.1523, allocations: 2.405 MB / 438.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.249, allocations: 4.047 kB / 438.6 MB, free: 7.957 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable PI.y in file Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv. Warning: Get data of variable PI.y from file Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.152716457960196]