Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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.001552/0.001552, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001533/0.001533, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.405/1.405, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 51.94 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09872, allocations: 53.33 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004033/0.1027, allocations: 2.396 MB / 428.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1041, allocations: 0.7477 MB / 429.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-05/0.1042, allocations: 7.938 kB / 429.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.1044, allocations: 35.72 kB / 429.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.1045, allocations: 47.5 kB / 429.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.1048, allocations: 107.7 kB / 429.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.1052, allocations: 267 kB / 429.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.1054, allocations: 83.05 kB / 430 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.1057, allocations: 127.6 kB / 430.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1059, allocations: 107.6 kB / 430.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.1059, allocations: 24 kB / 430.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-05/0.106, allocations: 27.98 kB / 430.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.424e-05/0.106, allocations: 51.83 kB / 430.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.1062, allocations: 123.3 kB / 430.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.1066, allocations: 290.8 kB / 430.7 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1066, allocations: 0 / 430.7 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1066, allocations: 4 kB / 430.7 MB, free: 352 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1066, allocations: 0 / 430.7 MB, free: 352 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.176/0.2826, allocations: 0.6633 MB / 431.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.2827, allocations: 9.469 kB / 431.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.319e-05/0.2828, allocations: 56.97 kB / 431.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.283, allocations: 40.55 kB / 431.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.2833, allocations: 251.7 kB / 431.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/0.2834, allocations: 53.28 kB / 431.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.2834, allocations: 21 kB / 431.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.284, allocations: 257.5 kB / 432.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.284, allocations: 2.438 kB / 432.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.2841, allocations: 11.19 kB / 432.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2841, allocations: 3.375 kB / 432.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004958/0.2846, allocations: 203.7 kB / 432.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.2857, allocations: 0.7574 MB / 433.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.2862, allocations: 259.2 kB / 433.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.2865, allocations: 189.4 kB / 433.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.2866, allocations: 4.156 kB / 433.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.287, allocations: 312.7 kB / 433.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.287, allocations: 3.562 kB / 433.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00106/0.288, allocations: 0.5804 MB / 434.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.2881, allocations: 199.5 kB / 434.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2882, allocations: 185.9 kB / 434.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.2883, allocations: 39.81 kB / 434.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.2883, allocations: 133 kB / 434.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.2884, allocations: 83.97 kB / 435 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.2885, allocations: 65.88 kB / 435.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.2885, allocations: 338.4 kB / 435.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.2887, allocations: 106.8 kB / 435.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.289, allocations: 173.2 kB / 435.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.2895, allocations: 410.1 kB / 436.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2895, allocations: 6.891 kB / 436.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000643/0.2901, allocations: 443.6 kB / 436.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.2902, allocations: 97.73 kB / 436.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2902, allocations: 4.344 kB / 436.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2902, allocations: 6.531 kB / 436.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.2904, allocations: 37.25 kB / 436.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2904, allocations: 3.125 kB / 436.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.2905, allocations: 38.48 kB / 436.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.2906, allocations: 16.5 kB / 436.7 MB, free: 8.617 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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.0001873/0.2908, allocations: 236.5 kB / 437 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.2908, allocations: 26.36 kB / 437 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.2908, allocations: 28.03 kB / 437 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2909, allocations: 6.094 kB / 437 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.2909, allocations: 192 / 437 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2909, allocations: 3.391 kB / 437 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.2922, allocations: 0.9486 MB / 438 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2922, allocations: 1.688 kB / 438 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.2923, allocations: 20.62 kB / 438 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2923, allocations: 1.219 kB / 438 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.2923, allocations: 14.17 kB / 438 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2923, allocations: 1.5 kB / 438 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2923, allocations: 5.25 kB / 438 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.2932, allocations: 0.6171 MB / 438.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.2933, allocations: 100 kB / 438.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.2933, allocations: 17.92 kB / 438.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2936, allocations: 22.23 kB / 438.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.2936, allocations: 25 kB / 438.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.2937, allocations: 8.547 kB / 438.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.394e-05/0.2938, allocations: 133.6 kB / 438.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2938, allocations: 0 / 438.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003387/0.2941, allocations: 79.42 kB / 439 MB, free: 7.246 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.001087/0.2952, allocations: 1.179 MB / 440.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007629/0.296, allocations: 0.5193 MB / 440.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.296, allocations: 0 / 440.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.2964, allocations: 326.3 kB / 441 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.2971, allocations: 141.3 kB / 441.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.3005, allocations: 2.934 MB / 444.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.3007, allocations: 0.7449 MB / 444.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.3009, allocations: 51.22 kB / 444.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.965e-05/0.301, allocations: 71.27 kB / 445 MB, free: 3.211 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.301, allocations: 0 / 445 MB, free: 3.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.3291, allocations: 6.597 MB / 451.6 MB, free: 2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.2, allocations: 14.09 kB / 451.6 MB, free: 1.992 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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: 10.596072487067431]