Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.001826/0.001826, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001445/0.001445, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.556/1.556, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 51.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1083, allocations: 53.33 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004413/0.1127, allocations: 2.702 MB / 429 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.1146, allocations: 0.9544 MB / 430 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.1148, allocations: 11.88 kB / 430 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.115, allocations: 63.39 kB / 430 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.1152, allocations: 67.44 kB / 430.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.1159, allocations: 235.5 kB / 430.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.1164, allocations: 378.9 kB / 430.7 MB, free: 388 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.1167, allocations: 140.8 kB / 430.8 MB, free: 244 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.1168, allocations: 143.4 kB / 431 MB, free: 100 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1968/0.3136, allocations: 145 kB / 431.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.3138, allocations: 30.56 kB / 431.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.314, allocations: 72.03 kB / 431.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.3142, allocations: 78.86 kB / 431.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.3144, allocations: 163.3 kB / 431.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006715/0.315, allocations: 422.4 kB / 431.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.315, allocations: 0.5938 kB / 431.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.315, allocations: 0.9688 kB / 431.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.3151, allocations: 0.6875 kB / 431.9 MB, free: 7.387 MB / 350.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.001118/0.3162, allocations: 0.6501 MB / 432.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3162, allocations: 9.375 kB / 432.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.3163, allocations: 65.89 kB / 432.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.3164, allocations: 44.55 kB / 432.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.3167, allocations: 337.2 kB / 433 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.3168, allocations: 20.84 kB / 433 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.3168, allocations: 30.09 kB / 433 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.3181, allocations: 0.7383 MB / 433.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3181, allocations: 4.344 kB / 433.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.3181, allocations: 13.69 kB / 433.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3181, allocations: 7.094 kB / 433.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005475/0.3187, allocations: 222.2 kB / 434 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000715/0.3194, allocations: 0.7659 MB / 434.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.3205, allocations: 0.5983 MB / 435.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.3209, allocations: 238.9 kB / 435.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005632/0.3215, allocations: 0.5984 MB / 436.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.3215, allocations: 41.62 kB / 436.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 1.954e-06/0.3215, allocations: 0 / 436.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001278/0.3228, allocations: 0.5286 MB / 436.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.3229, allocations: 208.7 kB / 437 MB, free: 4.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.3232, allocations: 251.2 kB / 437.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3232, allocations: 34.33 kB / 437.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.3233, allocations: 161.3 kB / 437.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.3233, allocations: 46.11 kB / 437.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3234, allocations: 84.52 kB / 437.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.3235, allocations: 345 kB / 437.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.3237, allocations: 82.81 kB / 437.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.3241, allocations: 436.7 kB / 438.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.3246, allocations: 0.5261 MB / 438.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.3246, allocations: 3.375 kB / 438.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000827/0.3254, allocations: 0.4916 MB / 439.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.3255, allocations: 11.3 kB / 439.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.3255, allocations: 12.38 kB / 439.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/0.3255, allocations: 16.09 kB / 439.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.3259, allocations: 119.6 kB / 439.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.308e-05/0.3259, allocations: 27.97 kB / 439.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.3262, allocations: 56.45 kB / 439.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.3263, allocations: 29.75 kB / 439.7 MB, free: 3.027 MB / 350.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.0002803/0.3266, allocations: 191.1 kB / 439.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007729/0.3273, allocations: 349.2 kB / 440.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008489/0.3282, allocations: 357.2 kB / 440.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.3282, allocations: 5.969 kB / 440.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.3282, allocations: 1.812 kB / 440.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3282, allocations: 7.766 kB / 440.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.3287, allocations: 338 kB / 440.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.3287, allocations: 5.703 kB / 440.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.3292, allocations: 102.2 kB / 441 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.3292, allocations: 6.906 kB / 441 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.3292, allocations: 11.5 kB / 441 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.3292, allocations: 4.438 kB / 441 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3292, allocations: 1.641 kB / 441 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.3306, allocations: 0.7771 MB / 441.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/0.3307, allocations: 121.4 kB / 441.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.3307, allocations: 15.11 kB / 441.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.331, allocations: 31.22 kB / 441.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.3311, allocations: 5.109 kB / 442 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.3311, allocations: 16.28 kB / 442 MB, free: 2.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.3313, allocations: 185.3 kB / 442.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3313, allocations: 3.938 kB / 442.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006106/0.3319, allocations: 73.17 kB / 442.2 MB, free: 2.004 MB / 350.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.001531/0.3334, allocations: 1.352 MB / 443.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000849/0.3343, allocations: 347.4 kB / 443.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3343, allocations: 0 / 443.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.3344, allocations: 30.44 kB / 443.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.3355, allocations: 302.1 kB / 444.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/0.3407, allocations: 3.828 MB / 448.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.3412, allocations: 0.8143 MB / 448.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.3414, allocations: 39.52 kB / 448.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.3415, allocations: 107.5 kB / 449 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3415, allocations: 1.094 kB / 449 MB, free: 13.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.3782, allocations: 8.107 MB / 457.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.822/9.2, allocations: 16.64 kB / 457.1 MB, free: 11.16 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_fmu --startTime=0 --stopTime=5 --stepSize=0.0009802 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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: 11.81127648591064]