Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 184.4 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 51.92 kB / 371.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2426, allocations: 52.19 MB / 423.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003145/0.2458, allocations: 1.837 MB / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007301/0.2465, allocations: 423 kB / 425.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.2466, allocations: 8 kB / 425.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.641e-05/0.2467, allocations: 11.81 kB / 425.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/0.2467, allocations: 23.78 kB / 425.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.2469, allocations: 27.97 kB / 425.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.247, allocations: 107.6 kB / 425.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2472, allocations: 29.58 kB / 425.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.152e-05/0.2472, allocations: 43.8 kB / 425.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.2473, allocations: 47.77 kB / 425.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.2473, allocations: 8 kB / 425.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.2474, allocations: 12 kB / 425.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.2474, allocations: 19.92 kB / 425.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.2474, allocations: 35.8 kB / 426 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.2476, allocations: 107.5 kB / 426.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2476, allocations: 0 / 426.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2476, allocations: 0 / 426.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2476, allocations: 0 / 426.1 MB, free: 11.66 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.0005325/0.2482, allocations: 330.1 kB / 426.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2482, allocations: 8.031 kB / 426.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.043e-05/0.2482, allocations: 8.375 kB / 426.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.2482, allocations: 42.73 kB / 426.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.2483, allocations: 20.78 kB / 426.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.2485, allocations: 126.4 kB / 426.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.2485, allocations: 16.31 kB / 426.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.2485, allocations: 12 kB / 426.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.2488, allocations: 133.3 kB / 426.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2488, allocations: 0 / 426.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2488, allocations: 3.984 kB / 426.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2488, allocations: 8 kB / 426.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.249, allocations: 67.94 kB / 426.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.2497, allocations: 462.7 kB / 427.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.2499, allocations: 78.55 kB / 427.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.25, allocations: 40.77 kB / 427.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.25, allocations: 4 kB / 427.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.25, allocations: 34.56 kB / 427.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.25, allocations: 0 / 427.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003896/0.2504, allocations: 121.9 kB / 427.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.2504, allocations: 55.34 kB / 427.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2506, allocations: 125.8 kB / 427.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2506, allocations: 29.7 kB / 427.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.2506, allocations: 111.9 kB / 427.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.2507, allocations: 35.73 kB / 427.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.2507, allocations: 21.72 kB / 427.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2508, allocations: 326.8 kB / 428.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.2509, allocations: 31.97 kB / 428.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.2511, allocations: 72.27 kB / 428.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.2513, allocations: 104.2 kB / 428.4 MB, free: 9.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2513, allocations: 0 / 428.4 MB, free: 9.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002988/0.2516, allocations: 133.5 kB / 428.6 MB, free: 8.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2516, allocations: 8 kB / 428.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2516, allocations: 0 / 428.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2516, allocations: 4.031 kB / 428.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.2518, allocations: 40.03 kB / 428.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.2518, allocations: 4 kB / 428.6 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.2519, allocations: 11.94 kB / 428.6 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2519, allocations: 4 kB / 428.6 MB, free: 8.848 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 9.94e-05/0.252, allocations: 133.7 kB / 428.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.252, allocations: 7.953 kB / 428.8 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.252, allocations: 8.375 kB / 428.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.252, allocations: 0 / 428.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.252, allocations: 0 / 428.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.252, allocations: 4 kB / 428.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.2522, allocations: 172.6 kB / 429 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2522, allocations: 0 / 429 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.2524, allocations: 19.98 kB / 429 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2524, allocations: 0 / 429 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.2524, allocations: 0 / 429 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2524, allocations: 0 / 429 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2524, allocations: 7.938 kB / 429 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.2528, allocations: 243.6 kB / 429.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.2528, allocations: 7.953 kB / 429.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.2528, allocations: 8.031 kB / 429.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.2529, allocations: 4 kB / 429.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.2529, allocations: 3.984 kB / 429.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.253, allocations: 4 kB / 429.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.199e-05/0.253, allocations: 102.6 kB / 429.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.253, allocations: 0 / 429.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.2533, allocations: 31.83 kB / 429.4 MB, free: 8.035 MB / 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.0006525/0.2539, allocations: 0.7632 MB / 430.1 MB, free: 7.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.2542, allocations: 79.89 kB / 430.2 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2542, allocations: 0 / 430.2 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.929e-05/0.2543, allocations: 31.97 kB / 430.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.2546, allocations: 24.55 kB / 430.3 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.2567, allocations: 1.739 MB / 432 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.201e-05/0.2567, allocations: 88.89 kB / 432.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.053e-05/0.2568, allocations: 8.422 kB / 432.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.2568, allocations: 27.42 kB / 432.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2568, allocations: 0 / 432.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.2809, allocations: 2.641 MB / 434.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.73, allocations: 19.31 kB / 434.8 MB, free: 2.633 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.154349223012105]