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.001615/0.001615, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001858/0.001858, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.499/1.499, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001824/0.001824, allocations: 67.88 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1103, allocations: 53.31 MB / 426.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003324/0.1136, allocations: 1.889 MB / 428.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009137/0.1145, allocations: 498.7 kB / 429 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1146, allocations: 0 / 429 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.1148, allocations: 15.86 kB / 429 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.1148, allocations: 27.72 kB / 429.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.115, allocations: 27.97 kB / 429.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.1152, allocations: 107.6 kB / 429.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1153, allocations: 37.38 kB / 429.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.1154, allocations: 35.86 kB / 429.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.1155, allocations: 43.78 kB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.1155, allocations: 8 kB / 429.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.042e-05/0.1155, allocations: 12 kB / 429.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.1156, allocations: 15.92 kB / 429.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.1156, allocations: 55.72 kB / 429.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1158, allocations: 99.55 kB / 429.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1158, allocations: 0 / 429.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1158, allocations: 0 / 429.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1158, allocations: 3.938 kB / 429.5 MB, free: 2.148 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.0006037/0.1164, allocations: 411.2 kB / 429.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1165, allocations: 12.03 kB / 429.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.1165, allocations: 42.73 kB / 430 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.1166, allocations: 8.891 kB / 430 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.1169, allocations: 192.2 kB / 430.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1169, allocations: 8.562 kB / 430.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.1169, allocations: 20.11 kB / 430.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.1172, allocations: 127.2 kB / 430.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1172, allocations: 4 kB / 430.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1172, allocations: 0 / 430.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1172, allocations: 0 / 430.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.1174, allocations: 75.88 kB / 430.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007216/0.1182, allocations: 0.5286 MB / 430.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1184, allocations: 70.61 kB / 431 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.1185, allocations: 44.83 kB / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.1185, allocations: 0 / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1185, allocations: 30.56 kB / 431 MB, free: 412 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.1185, allocations: 0 / 431 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004003/0.1189, allocations: 125.7 kB / 431.2 MB, free: 280 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.1189, allocations: 51.41 kB / 431.2 MB, free: 216 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.1191, allocations: 135.5 kB / 431.4 MB, free: 72 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1191, allocations: 25.7 kB / 431.4 MB, free: 40 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.1192, allocations: 112 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.1192, allocations: 35.88 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.1192, allocations: 25.66 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1194, allocations: 322.8 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1195, allocations: 35.97 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1196, allocations: 68.27 kB / 432 MB, free: 15.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.1198, allocations: 108.1 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1198, allocations: 0 / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002798/0.1201, allocations: 129.5 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1201, allocations: 8 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1201, allocations: 0 / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1201, allocations: 96 / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.1203, allocations: 40.03 kB / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1203, allocations: 8 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.088e-05/0.1204, allocations: 15.88 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1204, allocations: 4 kB / 432.3 MB, free: 15.09 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 0.0001008/0.1205, allocations: 125.7 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.1205, allocations: 7.953 kB / 432.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.1206, allocations: 12.38 kB / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1206, allocations: 0 / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1206, allocations: 0 / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1206, allocations: 4 kB / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.1208, allocations: 197.6 kB / 432.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1208, allocations: 0 / 432.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.1209, allocations: 19.98 kB / 432.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1209, allocations: 4 kB / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.121, allocations: 4 kB / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.121, allocations: 0 / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.121, allocations: 7.922 kB / 432.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.1214, allocations: 239.6 kB / 432.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.1214, allocations: 89.06 kB / 433 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1214, allocations: 0 / 433 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.1215, allocations: 8.031 kB / 433 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.1216, allocations: 8.094 kB / 433 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1216, allocations: 0 / 433 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.661e-05/0.1216, allocations: 96.39 kB / 433.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1216, allocations: 4 kB / 433.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1219, allocations: 23.94 kB / 433.1 MB, free: 14.16 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.00068/0.1226, allocations: 0.7748 MB / 433.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.1228, allocations: 79.94 kB / 434 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1228, allocations: 0 / 434 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.84e-05/0.1229, allocations: 35.91 kB / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.1233, allocations: 26.86 kB / 434 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.1254, allocations: 1.727 MB / 435.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1257, allocations: 0.7002 MB / 436.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.599e-05/0.1257, allocations: 8.438 kB / 436.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.1258, allocations: 31.42 kB / 436.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1258, allocations: 0 / 436.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.1529, allocations: 2.391 MB / 438.9 MB, free: 8.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.238, allocations: 19.83 kB / 438.9 MB, free: 8.316 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.949092609807849]