Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.001672/0.001672, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002084/0.002084, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.535/1.535, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1152, allocations: 53.32 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00385/0.1191, allocations: 1.887 MB / 428.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1201, allocations: 498.7 kB / 428.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1202, allocations: 8 kB / 428.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.1203, allocations: 15.8 kB / 428.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.539e-05/0.1204, allocations: 19.8 kB / 428.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.1206, allocations: 31.95 kB / 428.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1208, allocations: 103.6 kB / 428.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1209, allocations: 29.39 kB / 428.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.047e-05/0.121, allocations: 47.78 kB / 428.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.1211, allocations: 43.78 kB / 429 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.1211, allocations: 8 kB / 429 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.191e-05/0.1212, allocations: 12 kB / 429 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.1212, allocations: 19.92 kB / 429 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.591e-05/0.1213, allocations: 51.67 kB / 429 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.1215, allocations: 103.5 kB / 429.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1215, allocations: 0 / 429.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1215, allocations: 0 / 429.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1215, allocations: 0 / 429.2 MB, free: 1.914 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.0006657/0.1222, allocations: 407.2 kB / 429.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.1222, allocations: 12.03 kB / 429.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.1223, allocations: 38.75 kB / 429.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.1223, allocations: 12.89 kB / 429.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.1226, allocations: 200.2 kB / 429.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1226, allocations: 4.562 kB / 429.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.1227, allocations: 16.12 kB / 429.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.123, allocations: 119.3 kB / 429.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.123, allocations: 4 kB / 429.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.123, allocations: 12 kB / 430 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.123, allocations: 0 / 430 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.1233, allocations: 71.88 kB / 430 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.1241, allocations: 0.5169 MB / 430.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.1243, allocations: 78.59 kB / 430.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.1244, allocations: 44.77 kB / 430.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1244, allocations: 0 / 430.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1245, allocations: 34.56 kB / 430.7 MB, free: 176 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 4.118e-06/0.1245, allocations: 4 kB / 430.7 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004669/0.125, allocations: 117.8 kB / 430.8 MB, free: 48 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.125, allocations: 55.41 kB / 430.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1251, allocations: 129.8 kB / 431 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.1252, allocations: 29.7 kB / 431 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.1253, allocations: 108 kB / 431.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.1253, allocations: 31.73 kB / 431.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.1253, allocations: 33.66 kB / 431.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1255, allocations: 322.8 kB / 431.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.1256, allocations: 31.92 kB / 431.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.1258, allocations: 68.25 kB / 431.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.126, allocations: 104.1 kB / 431.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.126, allocations: 0 / 431.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003272/0.1263, allocations: 141.5 kB / 431.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1264, allocations: 4 kB / 431.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1264, allocations: 4 kB / 431.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1264, allocations: 0 / 431.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.1266, allocations: 35.91 kB / 431.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1266, allocations: 4 kB / 431.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.1266, allocations: 7.953 kB / 431.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1267, allocations: 8 kB / 431.9 MB, free: 14.87 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.0001162/0.1268, allocations: 125.8 kB / 432 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.1268, allocations: 15.92 kB / 432.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.1269, allocations: 12.38 kB / 432.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1269, allocations: 0 / 432.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1269, allocations: 0 / 432.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1269, allocations: 0 / 432.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.1271, allocations: 201.7 kB / 432.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1271, allocations: 3.938 kB / 432.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.1273, allocations: 23.98 kB / 432.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1273, allocations: 4 kB / 432.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1273, allocations: 4 kB / 432.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1273, allocations: 0 / 432.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1273, allocations: 320 / 432.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.1278, allocations: 235.3 kB / 432.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.1278, allocations: 89.09 kB / 432.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1278, allocations: 8 kB / 432.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.1279, allocations: 8 kB / 432.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.128, allocations: 7.922 kB / 432.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.128, allocations: 4.094 kB / 432.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.994e-05/0.1281, allocations: 101.6 kB / 432.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1281, allocations: 0 / 432.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1284, allocations: 23.94 kB / 432.8 MB, free: 13.92 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.0008162/0.1292, allocations: 0.767 MB / 433.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1295, allocations: 79.92 kB / 433.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1295, allocations: 8.188 kB / 433.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.1296, allocations: 35.97 kB / 433.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.13, allocations: 12 kB / 433.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.1325, allocations: 1.723 MB / 435.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1329, allocations: 0.704 MB / 436.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.764e-05/0.1329, allocations: 8.422 kB / 436.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.133, allocations: 27.44 kB / 436.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.133, allocations: 0 / 436.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.1645, allocations: 2.403 MB / 438.5 MB, free: 8.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/8.355, allocations: 10.5 kB / 438.5 MB, free: 8.109 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/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_4.1.0_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: 11.094299622811377]