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.001279/0.001279, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001406/0.001406, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 8.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 47.92 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.249, allocations: 53.36 MB / 431.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003758/0.2528, allocations: 1.909 MB / 433.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009904/0.2538, allocations: 0.4947 MB / 434.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.2539, allocations: 3.938 kB / 434.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.254, allocations: 15.86 kB / 434.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.2541, allocations: 27.78 kB / 434.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.2542, allocations: 27.97 kB / 434.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.2544, allocations: 103.6 kB / 434.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.2546, allocations: 37.56 kB / 434.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.456e-05/0.2547, allocations: 39.86 kB / 434.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.2548, allocations: 43.78 kB / 434.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.2548, allocations: 8 kB / 434.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.037e-05/0.2548, allocations: 8 kB / 434.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.2549, allocations: 19.92 kB / 434.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.2549, allocations: 51.72 kB / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.2551, allocations: 99.97 kB / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2551, allocations: 0 / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2551, allocations: 0 / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2551, allocations: 4 kB / 434.8 MB, free: 4.109 MB / 334.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.0006241/0.2557, allocations: 334.1 kB / 435.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.2558, allocations: 11.97 kB / 435.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.961e-05/0.2558, allocations: 4.375 kB / 435.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.2559, allocations: 38.75 kB / 435.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.2559, allocations: 8.891 kB / 435.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.2561, allocations: 142.3 kB / 435.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.2562, allocations: 12.31 kB / 435.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.2562, allocations: 8 kB / 435.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.2565, allocations: 123.2 kB / 435.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2565, allocations: 3.984 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.2565, allocations: 4 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.2565, allocations: 7.938 kB / 435.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.2568, allocations: 66.53 kB / 435.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008175/0.2576, allocations: 478.7 kB / 436 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.2578, allocations: 78.55 kB / 436.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.2579, allocations: 40.83 kB / 436.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.258, allocations: 0 / 436.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.258, allocations: 30.56 kB / 436.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.258, allocations: 4 kB / 436.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004545/0.2584, allocations: 117.8 kB / 436.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.2585, allocations: 59.34 kB / 436.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2586, allocations: 133.8 kB / 436.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.2587, allocations: 25.7 kB / 436.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.2587, allocations: 112.1 kB / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.2588, allocations: 27.75 kB / 436.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.2588, allocations: 29.7 kB / 436.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.259, allocations: 326.8 kB / 437 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.2591, allocations: 27.98 kB / 437 MB, free: 1.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.2592, allocations: 64.27 kB / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.2595, allocations: 108.2 kB / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.2595, allocations: 4 kB / 437.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003006/0.2598, allocations: 133.4 kB / 437.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2598, allocations: 8 kB / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2598, allocations: 0 / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2598, allocations: 128 / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.26, allocations: 35.92 kB / 437.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.26, allocations: 4 kB / 437.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.2601, allocations: 15.94 kB / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.2601, allocations: 4 kB / 437.4 MB, free: 1.297 MB / 334.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.0001069/0.2602, allocations: 133.7 kB / 437.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.2602, allocations: 11.95 kB / 437.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.2603, allocations: 16.34 kB / 437.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2603, allocations: 4 kB / 437.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2603, allocations: 0 / 437.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2603, allocations: 0 / 437.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.2605, allocations: 168.6 kB / 437.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2605, allocations: 7.938 kB / 437.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.2606, allocations: 19.98 kB / 437.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2606, allocations: 0 / 437.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2606, allocations: 0 / 437.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2606, allocations: 0 / 437.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2606, allocations: 0 / 437.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.2611, allocations: 243.2 kB / 438 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.2611, allocations: 11.95 kB / 438 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.2611, allocations: 0 / 438 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.2612, allocations: 8.031 kB / 438 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.2612, allocations: 7.984 kB / 438 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.2612, allocations: 0 / 438 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.607e-05/0.2613, allocations: 106.2 kB / 438.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2613, allocations: 0 / 438.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.2615, allocations: 27.88 kB / 438.1 MB, free: 488 kB / 334.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.0006955/0.2622, allocations: 0.7592 MB / 438.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.2625, allocations: 83.95 kB / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2625, allocations: 0 / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.2626, allocations: 31.97 kB / 439 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.2629, allocations: 16.61 kB / 439 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.265, allocations: 1.754 MB / 440.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.2653, allocations: 0.7041 MB / 441.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.866e-05/0.2653, allocations: 8.422 kB / 441.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.2654, allocations: 23.44 kB / 441.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2654, allocations: 0 / 441.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.2887, allocations: 2.576 MB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.22, allocations: 11.17 kB / 444.1 MB, free: 10.51 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.677851056971122]