Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 169.9 kB / 16.11 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.198/1.198, allocations: 205 MB / 221.9 MB, free: 1.879 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006891/0.0006893, allocations: 90.28 kB / 269.9 MB, free: 1.824 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.05852/0.05852, allocations: 12.58 MB / 330.4 MB, free: 29.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 8 kB / 391.2 MB, free: 416 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2178, allocations: 49.97 MB / 441.1 MB, free: 47.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.00252/0.2204, allocations: 2.376 MB / 443.5 MB, free: 45.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2216, allocations: 0.934 MB / 444.4 MB, free: 44.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.2218, allocations: 13.88 kB / 444.5 MB, free: 44.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.222, allocations: 43.62 kB / 444.5 MB, free: 44.94 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.2222, allocations: 46.31 kB / 444.5 MB, free: 44.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.2227, allocations: 211.6 kB / 444.7 MB, free: 44.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.223, allocations: 353.3 kB / 445.1 MB, free: 44.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.2233, allocations: 173.5 kB / 445.3 MB, free: 44.44 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.2234, allocations: 100.7 kB / 445.4 MB, free: 44.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.2236, allocations: 109.1 kB / 445.5 MB, free: 44.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.2236, allocations: 18.08 kB / 445.5 MB, free: 44.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-05/0.2237, allocations: 48.77 kB / 445.5 MB, free: 44.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.2238, allocations: 46 kB / 445.6 MB, free: 44.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.258e-05/0.2239, allocations: 137.2 kB / 445.7 MB, free: 44.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.2242, allocations: 358.8 kB / 446.1 MB, free: 43.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2242, allocations: 1.469 kB / 446.1 MB, free: 43.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2242, allocations: 0 / 446.1 MB, free: 43.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2242, allocations: 3.938 kB / 446.1 MB, free: 43.87 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.000815/0.225, allocations: 0.5853 MB / 446.7 MB, free: 43.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2251, allocations: 9.062 kB / 446.7 MB, free: 43.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.2251, allocations: 65 kB / 446.7 MB, free: 43.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.2252, allocations: 39.81 kB / 446.8 MB, free: 43.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.2255, allocations: 328.3 kB / 447.1 MB, free: 42.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2255, allocations: 24.75 kB / 447.1 MB, free: 42.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.2256, allocations: 29.97 kB / 447.1 MB, free: 42.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.2268, allocations: 0.7818 MB / 447.9 MB, free: 42.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.2268, allocations: 1.344 kB / 447.9 MB, free: 42.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.2268, allocations: 10.88 kB / 447.9 MB, free: 42.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.2268, allocations: 10.8 kB / 447.9 MB, free: 42.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/0.2274, allocations: 249.1 kB / 448.2 MB, free: 42.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.228, allocations: 0.769 MB / 449 MB, free: 41.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009423/0.2289, allocations: 0.6522 MB / 449.6 MB, free: 41.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.2294, allocations: 292.1 kB / 449.9 MB, free: 40.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005017/0.2299, allocations: 0.5867 MB / 450.5 MB, free: 40.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.2299, allocations: 41.58 kB / 450.5 MB, free: 40.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 1.803e-06/0.2299, allocations: 5.438 kB / 450.5 MB, free: 40.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.00113/0.2311, allocations: 0.5587 MB / 451.1 MB, free: 39.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.2312, allocations: 218.7 kB / 451.3 MB, free: 39.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.2314, allocations: 251 kB / 451.5 MB, free: 39.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.2314, allocations: 31.92 kB / 451.6 MB, free: 39.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.2315, allocations: 152.5 kB / 451.7 MB, free: 39.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.2315, allocations: 49.36 kB / 451.8 MB, free: 39.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.2316, allocations: 44.36 kB / 451.8 MB, free: 39.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.2317, allocations: 350.5 kB / 452.2 MB, free: 38.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.2319, allocations: 93.19 kB / 452.2 MB, free: 38.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.2323, allocations: 438.6 kB / 452.7 MB, free: 38.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.2327, allocations: 0.5363 MB / 453.2 MB, free: 37.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.2328, allocations: 4 kB / 453.2 MB, free: 37.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000616/0.2334, allocations: 0.5092 MB / 453.7 MB, free: 37.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2334, allocations: 12 kB / 453.7 MB, free: 37.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.2334, allocations: 12 kB / 453.7 MB, free: 37.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.2335, allocations: 12 kB / 453.8 MB, free: 37.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.2337, allocations: 127.8 kB / 453.9 MB, free: 36.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.2337, allocations: 19.94 kB / 453.9 MB, free: 36.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.234, allocations: 55.58 kB / 454 MB, free: 36.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.234, allocations: 32.06 kB / 454 MB, free: 36.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001567/0.2342, allocations: 197.4 kB / 454.2 MB, free: 36.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/0.2347, allocations: 361.9 kB / 454.5 MB, free: 36.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005619/0.2353, allocations: 372.7 kB / 454.9 MB, free: 35.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2353, allocations: 4 kB / 454.9 MB, free: 35.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2353, allocations: 0 / 454.9 MB, free: 35.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.2353, allocations: 7.984 kB / 454.9 MB, free: 35.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.2356, allocations: 337 kB / 455.2 MB, free: 35.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.2356, allocations: 0 / 455.2 MB, free: 35.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.236, allocations: 119.8 kB / 455.4 MB, free: 35.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.236, allocations: 4 kB / 455.4 MB, free: 35.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.236, allocations: 12 kB / 455.4 MB, free: 35.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.236, allocations: 0 / 455.4 MB, free: 35.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.236, allocations: 8 kB / 455.4 MB, free: 35.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.2371, allocations: 0.8175 MB / 456.2 MB, free: 34.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.2371, allocations: 116.6 kB / 456.3 MB, free: 34.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.2372, allocations: 24.05 kB / 456.3 MB, free: 34.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.2374, allocations: 31.92 kB / 456.4 MB, free: 34.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.2374, allocations: 3.984 kB / 456.4 MB, free: 34.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.2375, allocations: 16 kB / 456.4 MB, free: 34.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.2376, allocations: 186 kB / 456.6 MB, free: 34.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2376, allocations: 0 / 456.6 MB, free: 34.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004085/0.238, allocations: 75.91 kB / 456.6 MB, free: 34.1 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001148/0.2392, allocations: 1.384 MB / 458 MB, free: 32.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005421/0.2397, allocations: 380.3 kB / 458.4 MB, free: 32.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2397, allocations: 1.375 kB / 458.4 MB, free: 32.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.2398, allocations: 35.97 kB / 458.4 MB, free: 32.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/0.2407, allocations: 305.8 kB / 458.7 MB, free: 31.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.2439, allocations: 4 MB / 462.7 MB, free: 27.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.2441, allocations: 0.8081 MB / 463.5 MB, free: 26.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.256e-05/0.2442, allocations: 39.28 kB / 463.6 MB, free: 26.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.2443, allocations: 111.4 kB / 463.7 MB, free: 26.59 MB / 314.7 MB Notification: Performance of SimCode: time 9.21e-07/0.2443, allocations: 0 / 463.7 MB, free: 26.59 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2415/0.4859, allocations: 7.417 MB / 471.1 MB, free: 19.18 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.4861, allocations: 235.4 kB / 471.3 MB, free: 18.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.062, allocations: 3.938 kB / 471.3 MB, free: 18.92 MB / 314.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches