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.001674/0.001674, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001814/0.001814, allocations: 210.8 kB / 23.73 MB, free: 4.387 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001734/0.001734, allocations: 47.92 kB / 377.7 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2447, allocations: 53.36 MB / 431.1 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003032/0.2477, allocations: 1.852 MB / 432.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.2485, allocations: 466.8 kB / 433.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.413e-05/0.2486, allocations: 0 / 433.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.2487, allocations: 15.8 kB / 433.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.2488, allocations: 23.78 kB / 433.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.2489, allocations: 35.95 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.2491, allocations: 107.6 kB / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2492, allocations: 27.2 kB / 433.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.2493, allocations: 47.84 kB / 433.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.2494, allocations: 43.72 kB / 433.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2494, allocations: 12 kB / 433.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.059e-05/0.2494, allocations: 8 kB / 433.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.2495, allocations: 15.92 kB / 433.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.2495, allocations: 39.8 kB / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.2497, allocations: 103.5 kB / 433.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2497, allocations: 0 / 433.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2497, allocations: 0 / 433.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.2497, allocations: 0 / 433.8 MB, free: 3.898 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.0005683/0.2503, allocations: 330.1 kB / 434.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2503, allocations: 12.03 kB / 434.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.2504, allocations: 46.73 kB / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.2504, allocations: 12.89 kB / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.2506, allocations: 134.3 kB / 434.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.2506, allocations: 8.562 kB / 434.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.2507, allocations: 20.08 kB / 434.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.2509, allocations: 115.3 kB / 434.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.251, allocations: 3.938 kB / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.251, allocations: 4 kB / 434.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.251, allocations: 4 kB / 434.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.2512, allocations: 71.94 kB / 434.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.2519, allocations: 451 kB / 435 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.2521, allocations: 78.53 kB / 435.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.2522, allocations: 37 kB / 435.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.2522, allocations: 11.92 kB / 435.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.2522, allocations: 30.56 kB / 435.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.2522, allocations: 0 / 435.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003911/0.2526, allocations: 129.6 kB / 435.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2526, allocations: 51.41 kB / 435.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.2527, allocations: 132.3 kB / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.2528, allocations: 29.64 kB / 435.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.2528, allocations: 115.9 kB / 435.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.2529, allocations: 35.72 kB / 435.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.2529, allocations: 25.67 kB / 435.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.253, allocations: 326.8 kB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.2531, allocations: 31.97 kB / 436 MB, free: 1.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.2533, allocations: 68.27 kB / 436.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.2535, allocations: 100.2 kB / 436.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2535, allocations: 0 / 436.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003065/0.2538, allocations: 133.5 kB / 436.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2538, allocations: 4 kB / 436.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2538, allocations: 0 / 436.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2538, allocations: 4 kB / 436.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.254, allocations: 44.03 kB / 436.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2541, allocations: 4 kB / 436.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.307e-05/0.2541, allocations: 8 kB / 436.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.2541, allocations: 4 kB / 436.4 MB, free: 1.102 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.0001333/0.2543, allocations: 129.7 kB / 436.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.2543, allocations: 7.953 kB / 436.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.2543, allocations: 16.31 kB / 436.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2543, allocations: 96 / 436.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2544, allocations: 3.938 kB / 436.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2544, allocations: 7.984 kB / 436.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.2546, allocations: 172.6 kB / 436.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2546, allocations: 0 / 436.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.2548, allocations: 19.98 kB / 436.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2548, allocations: 4 kB / 436.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2548, allocations: 0 / 436.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2548, allocations: 0 / 436.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2548, allocations: 0 / 436.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.2552, allocations: 231.4 kB / 437 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.2552, allocations: 11.89 kB / 437 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.2553, allocations: 4 kB / 437 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.249e-05/0.2554, allocations: 8.031 kB / 437 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.2554, allocations: 7.984 kB / 437 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.2554, allocations: 0 / 437 MB, free: 428 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.675e-05/0.2555, allocations: 99.27 kB / 437.1 MB, free: 328 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2555, allocations: 0 / 437.1 MB, free: 328 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.2558, allocations: 23.88 kB / 437.1 MB, free: 304 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.0007571/0.2565, allocations: 0.767 MB / 437.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.2568, allocations: 83.86 kB / 438 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2568, allocations: 0 / 438 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.2569, allocations: 27.98 kB / 438 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.2572, allocations: 26.81 kB / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.2594, allocations: 1.74 MB / 439.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.612e-05/0.2595, allocations: 88.14 kB / 439.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.2595, allocations: 12.41 kB / 439.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.2596, allocations: 23.44 kB / 439.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2596, allocations: 0 / 439.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.2898, allocations: 2.963 MB / 442.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.91, allocations: 9.797 kB / 442.9 MB, free: 10.57 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.363235045224428]