Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002081/0.00208, allocations: 105 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00263/0.00263, allocations: 195 kB / 18 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.162/3.162, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 47.94 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7202/0.7224, allocations: 49.43 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.009375/0.7319, allocations: 2.683 MB / 402.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.7348, allocations: 0.9231 MB / 403.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007094/0.7355, allocations: 7.938 kB / 403.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004959/0.7362, allocations: 59.39 kB / 403.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005737/0.7368, allocations: 55.45 kB / 403.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.738, allocations: 238.9 kB / 404.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007152/0.7387, allocations: 390.9 kB / 404.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004944/0.7392, allocations: 180.8 kB / 404.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.7395, allocations: 131.4 kB / 404.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.7398, allocations: 155.2 kB / 405 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.349e-05/0.7399, allocations: 32 kB / 405 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.7401, allocations: 67.91 kB / 405.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.7403, allocations: 87.73 kB / 405.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.7405, allocations: 163.1 kB / 405.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007376/0.7413, allocations: 416.1 kB / 405.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7413, allocations: 3.938 kB / 405.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7413, allocations: 0 / 405.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.7413, allocations: 0 / 405.8 MB, free: 3.238 MB / 318.1 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.0015/0.7428, allocations: 0.643 MB / 406.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.7429, allocations: 8.031 kB / 406.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.218e-05/0.743, allocations: 66.72 kB / 406.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.7431, allocations: 36.47 kB / 406.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.7438, allocations: 335.9 kB / 406.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.7439, allocations: 20.94 kB / 406.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/0.744, allocations: 36.05 kB / 406.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.7459, allocations: 0.7444 MB / 407.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.7459, allocations: 3.984 kB / 407.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.746, allocations: 12 kB / 407.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.746, allocations: 4 kB / 407.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008735/0.7469, allocations: 223.8 kB / 407.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.7482, allocations: 0.7643 MB / 408.6 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.7499, allocations: 0.6228 MB / 409.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007261/0.7507, allocations: 275.5 kB / 409.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008899/0.7516, allocations: 0.5856 MB / 410.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.7516, allocations: 42.55 kB / 410.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 4.067e-06/0.7516, allocations: 0 / 410.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001934/0.7536, allocations: 0.5213 MB / 410.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/0.7538, allocations: 211.6 kB / 410.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.7542, allocations: 254.8 kB / 411.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.7543, allocations: 33.7 kB / 411.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.7544, allocations: 152.8 kB / 411.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.716e-05/0.7545, allocations: 47.61 kB / 411.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.7547, allocations: 82.31 kB / 411.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.7549, allocations: 350.7 kB / 411.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.7552, allocations: 85.06 kB / 411.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/0.7558, allocations: 439 kB / 412.3 MB, free: 12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/0.7567, allocations: 0.5246 MB / 412.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.7568, allocations: 4 kB / 412.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00129/0.7581, allocations: 0.4974 MB / 413.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.7581, allocations: 8 kB / 413.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.7582, allocations: 16.09 kB / 413.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.776e-05/0.7582, allocations: 16 kB / 413.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/0.7588, allocations: 123.8 kB / 413.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.255e-05/0.7588, allocations: 23.92 kB / 413.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.7593, allocations: 47.59 kB / 413.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.7594, allocations: 32 kB / 413.6 MB, free: 10.55 MB / 334.1 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.0003612/0.7597, allocations: 189.5 kB / 413.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/0.7608, allocations: 346.1 kB / 414.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.7619, allocations: 357.2 kB / 414.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.7619, allocations: 11.98 kB / 414.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.762, allocations: 4 kB / 414.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.762, allocations: 4 kB / 414.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006564/0.7627, allocations: 349 kB / 414.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.7627, allocations: 3.938 kB / 414.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006073/0.7633, allocations: 99.81 kB / 414.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.7633, allocations: 4 kB / 414.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.7634, allocations: 12 kB / 414.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.749e-06/0.7634, allocations: 4 kB / 414.9 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.7634, allocations: 3.938 kB / 414.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.7654, allocations: 0.7708 MB / 415.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.7656, allocations: 124.7 kB / 415.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.291e-05/0.7657, allocations: 19.94 kB / 415.9 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.7661, allocations: 23.97 kB / 415.9 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.7662, allocations: 8 kB / 415.9 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.7663, allocations: 8 kB / 415.9 MB, free: 8.121 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003043/0.7666, allocations: 186 kB / 416.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7666, allocations: 0 / 416.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009917/0.7676, allocations: 75.91 kB / 416.1 MB, free: 7.867 MB / 334.1 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.002559/0.7702, allocations: 1.352 MB / 417.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.7714, allocations: 357.2 kB / 417.9 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7714, allocations: 0 / 417.9 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.7716, allocations: 32.53 kB / 417.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.7734, allocations: 310.2 kB / 418.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008291/0.7817, allocations: 3.799 MB / 422 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006198/0.7824, allocations: 0.8158 MB / 422.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000223/0.7827, allocations: 39.22 kB / 422.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.783, allocations: 115.4 kB / 423 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of SimCode: time 2.194e-06/0.783, allocations: 0 / 423 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1569/0.9399, allocations: 8.224 MB / 431.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.41/21.35, allocations: 14.88 kB / 431.2 MB, free: 8.527 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches