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.0008564/0.0008564, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009298/0.0009298, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8638/0.8638, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.402e-06/1.402e-06, allocations: 0 / 324.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.062e-05, allocations: 6.219 kB / 324.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002324/0.002345, allocations: 1.864 MB / 326.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006061/0.002951, allocations: 466.8 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.003043, allocations: 7.938 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.003145, allocations: 15.86 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.588e-05/0.003201, allocations: 23.78 kB / 326.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.003348, allocations: 27.97 kB / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.003483, allocations: 111.5 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.003595, allocations: 21.58 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.003671, allocations: 63.81 kB / 327.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.003724, allocations: 35.89 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.003748, allocations: 8 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.003761, allocations: 12 kB / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.003781, allocations: 19.92 kB / 327.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.003813, allocations: 31.91 kB / 327.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.003944, allocations: 99.67 kB / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003946, allocations: 0 / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.003947, allocations: 0 / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003951, allocations: 0 / 327.3 MB, free: 13 MB / 298.7 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.0003853/0.004336, allocations: 333.2 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.004372, allocations: 12.03 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.004405, allocations: 46.73 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.00443, allocations: 16.83 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.004598, allocations: 129.7 kB / 327.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.004607, allocations: 4.562 kB / 327.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.004631, allocations: 16.33 kB / 327.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.004813, allocations: 127.7 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.004826, allocations: 4 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.004836, allocations: 4 kB / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.00484, allocations: 0 / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.004959, allocations: 71.94 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.00541, allocations: 451.2 kB / 328.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.005542, allocations: 86.45 kB / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.005599, allocations: 36.84 kB / 328.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.005609, allocations: 0 / 328.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.005627, allocations: 34.56 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.005628, allocations: 0 / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002389/0.005867, allocations: 137.6 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.005895, allocations: 55.34 kB / 328.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.005966, allocations: 132 kB / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.005978, allocations: 29.7 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.006031, allocations: 111.9 kB / 329.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.006048, allocations: 27.78 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.006083, allocations: 33.67 kB / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.006154, allocations: 322.8 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.006209, allocations: 23.98 kB / 329.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.595e-05/0.006274, allocations: 72.25 kB / 329.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.006415, allocations: 100.2 kB / 329.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.006417, allocations: 0 / 329.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001645/0.006581, allocations: 141.4 kB / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.006593, allocations: 4 kB / 329.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.006598, allocations: 4 kB / 329.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.006609, allocations: 0 / 329.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.006704, allocations: 35.91 kB / 329.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.00671, allocations: 8.125 kB / 329.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.006744, allocations: 4 kB / 329.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.006752, allocations: 8 kB / 329.9 MB, free: 10.2 MB / 298.7 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 5.778e-05/0.00681, allocations: 125.7 kB / 330 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.006826, allocations: 11.89 kB / 330 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.006849, allocations: 12.44 kB / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.00685, allocations: 3.938 kB / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.006854, allocations: 0 / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.006856, allocations: 0 / 330 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.006986, allocations: 172.7 kB / 330.2 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.006987, allocations: 3.938 kB / 330.2 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.007059, allocations: 27.97 kB / 330.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.007059, allocations: 0 / 330.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.007068, allocations: 4 kB / 330.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.007069, allocations: 0 / 330.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.00707, allocations: 0 / 330.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.007297, allocations: 235.3 kB / 330.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.007306, allocations: 7.953 kB / 330.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.007319, allocations: 4 kB / 330.5 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.139e-05/0.007361, allocations: 8.031 kB / 330.5 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.007391, allocations: 7.984 kB / 330.5 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.007393, allocations: 0 / 330.5 MB, free: 9.527 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.876e-05/0.007432, allocations: 102.1 kB / 330.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007432, allocations: 0 / 330.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.007596, allocations: 23.94 kB / 330.6 MB, free: 9.406 MB / 298.7 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.0003735/0.007969, allocations: 0.767 MB / 331.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.008118, allocations: 75.92 kB / 331.5 MB, free: 8.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008119, allocations: 0 / 331.5 MB, free: 8.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.049e-05/0.00817, allocations: 35.98 kB / 331.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.008386, allocations: 16.23 kB / 331.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.009573, allocations: 1.687 MB / 333.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.436e-05/0.009628, allocations: 96.25 kB / 333.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.25e-05/0.00966, allocations: 12.48 kB / 333.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.009704, allocations: 28.5 kB / 333.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.009704, allocations: 192 / 333.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.02363, allocations: 3.109 MB / 336.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.631/6.655, allocations: 2.875 kB / 336.5 MB, free: 3.562 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/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: 8.269970655441284]