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.001407/0.001407, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.001417/0.001417, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.001617/0.001617, allocations: 51.92 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2804, allocations: 53.36 MB / 431.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004434/0.2848, allocations: 2.415 MB / 433.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.2865, allocations: 0.7556 MB / 434.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.2867, allocations: 7.938 kB / 434.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.2869, allocations: 31.72 kB / 434.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.2871, allocations: 51.48 kB / 434.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.2876, allocations: 111.7 kB / 434.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.288, allocations: 267 kB / 434.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.2883, allocations: 80.34 kB / 434.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.2886, allocations: 123.6 kB / 435 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.2888, allocations: 111.6 kB / 435.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.2888, allocations: 27.94 kB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.132e-05/0.2889, allocations: 24 kB / 435.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.289, allocations: 55.83 kB / 435.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.2892, allocations: 123.3 kB / 435.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.2896, allocations: 283.3 kB / 435.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2896, allocations: 0 / 435.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2896, allocations: 4 kB / 435.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2896, allocations: 0 / 435.6 MB, free: 2.422 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001149/0.2908, allocations: 0.6001 MB / 436.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2908, allocations: 8.031 kB / 436.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.675e-05/0.2909, allocations: 66.66 kB / 436.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.2911, allocations: 36.75 kB / 436.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.2915, allocations: 194.1 kB / 436.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.2916, allocations: 75.75 kB / 436.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.2916, allocations: 20.38 kB / 436.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.2922, allocations: 256.1 kB / 436.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2922, allocations: 4 kB / 436.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.2923, allocations: 8 kB / 436.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2923, allocations: 4 kB / 436.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.2928, allocations: 204.2 kB / 437 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.2942, allocations: 0.7204 MB / 437.8 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.2948, allocations: 259.2 kB / 438 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.2953, allocations: 189 kB / 438.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.2953, allocations: 0 / 438.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/0.2958, allocations: 320.3 kB / 438.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 3.316e-06/0.2958, allocations: 3.984 kB / 438.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001243/0.2971, allocations: 0.5801 MB / 439.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.2972, allocations: 199.9 kB / 439.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.2974, allocations: 186.7 kB / 439.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.2975, allocations: 37.7 kB / 439.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.2976, allocations: 140.8 kB / 439.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.523e-05/0.2977, allocations: 83.36 kB / 439.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.2978, allocations: 70.02 kB / 439.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.298, allocations: 334.8 kB / 440.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.2982, allocations: 112.6 kB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.2985, allocations: 171 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.2992, allocations: 415.1 kB / 440.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2992, allocations: 0 / 440.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007638/0.3, allocations: 448.4 kB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/0.3001, allocations: 93.03 kB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3001, allocations: 4 kB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.3001, allocations: 4 kB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.3003, allocations: 35.92 kB / 441.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3003, allocations: 4.094 kB / 441.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.3005, allocations: 43.77 kB / 441.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.3005, allocations: 12 kB / 441.4 MB, free: 12.15 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.0002645/0.3008, allocations: 239.7 kB / 441.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.3009, allocations: 27.8 kB / 441.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.3009, allocations: 30.64 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3009, allocations: 0 / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.3009, allocations: 4 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3009, allocations: 0 / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.3025, allocations: 0.9074 MB / 442.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3025, allocations: 0 / 442.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.3026, allocations: 19.98 kB / 442.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3026, allocations: 3.938 kB / 442.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.3026, allocations: 19.92 kB / 442.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3026, allocations: 0 / 442.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3026, allocations: 0 / 442.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3036, allocations: 0.6176 MB / 443.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.3037, allocations: 23.78 kB / 443.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.3037, allocations: 20.19 kB / 443.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.3039, allocations: 23.97 kB / 443.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.304, allocations: 23.91 kB / 443.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.3041, allocations: 15.94 kB / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3042, allocations: 135.2 kB / 443.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3042, allocations: 0 / 443.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000363/0.3046, allocations: 75.94 kB / 443.6 MB, free: 9.859 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.001448/0.306, allocations: 1.187 MB / 444.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000975/0.307, allocations: 0.5096 MB / 445.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.307, allocations: 4 kB / 445.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.3075, allocations: 326.8 kB / 445.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.3082, allocations: 142.9 kB / 445.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.3125, allocations: 2.944 MB / 448.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.3129, allocations: 0.7444 MB / 449.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.3131, allocations: 61.88 kB / 449.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.3132, allocations: 63.42 kB / 449.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3132, allocations: 0 / 449.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04009/0.3533, allocations: 6.887 MB / 456.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.35, allocations: 12.06 kB / 456.5 MB, free: 12.93 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.870378019055352]