Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001789/0.001789, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002172/0.002172, allocations: 213 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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 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_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 57.48 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2776, allocations: 49.16 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003558/0.2811, allocations: 2.22 MB / 398.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2825, allocations: 0.6785 MB / 399.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.2826, allocations: 6.531 kB / 399.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.2828, allocations: 28.14 kB / 399.3 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.2829, allocations: 54.78 kB / 399.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.2832, allocations: 95.12 kB / 399.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.2835, allocations: 272.1 kB / 399.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.2837, allocations: 73.77 kB / 399.8 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.2839, allocations: 121.3 kB / 399.9 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.2841, allocations: 97 kB / 400 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.2842, allocations: 22.97 kB / 400 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.617e-05/0.2842, allocations: 22.81 kB / 400 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.696e-05/0.2843, allocations: 55.48 kB / 400.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.2844, allocations: 105.2 kB / 400.2 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.2848, allocations: 283.3 kB / 400.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2848, allocations: 0 / 400.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2848, allocations: 0 / 400.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2848, allocations: 1.5 kB / 400.5 MB, free: 6.348 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009338/0.2857, allocations: 0.5945 MB / 401.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.2858, allocations: 19.05 kB / 401.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.104e-05/0.2858, allocations: 55.19 kB / 401.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.2859, allocations: 30.94 kB / 401.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.2862, allocations: 179.5 kB / 401.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/0.2863, allocations: 76.14 kB / 401.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.2863, allocations: 18.19 kB / 401.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005943/0.2869, allocations: 352.4 kB / 401.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2869, allocations: 0 / 401.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.2869, allocations: 15.59 kB / 401.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2869, allocations: 3.5 kB / 401.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.2875, allocations: 272.1 kB / 402.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.2887, allocations: 0.6853 MB / 402.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.2893, allocations: 336.3 kB / 403.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.2898, allocations: 259.5 kB / 403.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.2898, allocations: 3 kB / 403.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005475/0.2904, allocations: 429.4 kB / 403.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.834e-06/0.2904, allocations: 3.938 kB / 403.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001329/0.2917, allocations: 0.7221 MB / 404.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.2918, allocations: 208.2 kB / 404.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.292, allocations: 183.2 kB / 404.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.2921, allocations: 39.78 kB / 404.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.2922, allocations: 129 kB / 405 MB, free: 3.258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/0.2923, allocations: 88.81 kB / 405.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.2924, allocations: 65.42 kB / 405.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2925, allocations: 335.9 kB / 405.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.2929, allocations: 197.6 kB / 405.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.2932, allocations: 297.8 kB / 406 MB, free: 2.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.2938, allocations: 411.4 kB / 406.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2938, allocations: 1.312 kB / 406.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007792/0.2946, allocations: 0.5375 MB / 406.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.436e-05/0.2946, allocations: 100.7 kB / 407 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.2947, allocations: 1.344 kB / 407 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.2947, allocations: 3.703 kB / 407 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.2949, allocations: 37.44 kB / 407.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2949, allocations: 11.14 kB / 407.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.2951, allocations: 38.08 kB / 407.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.2951, allocations: 10.84 kB / 407.1 MB, free: 1.707 MB / 318.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.0002059/0.2953, allocations: 235.8 kB / 407.3 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.2954, allocations: 30.34 kB / 407.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.2954, allocations: 22.77 kB / 407.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2954, allocations: 7.359 kB / 407.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2954, allocations: 0 / 407.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2954, allocations: 2.828 kB / 407.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.2968, allocations: 0.9384 MB / 408.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2968, allocations: 4.031 kB / 408.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.2969, allocations: 24.91 kB / 408.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2969, allocations: 1.281 kB / 408.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.2969, allocations: 11.25 kB / 408.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.2969, allocations: 1.938 kB / 408.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.297, allocations: 0 / 408.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009758/0.2979, allocations: 0.6805 MB / 409.1 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.298, allocations: 20.64 kB / 409.1 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.298, allocations: 20 kB / 409.1 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.2983, allocations: 21.64 kB / 409.1 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.2984, allocations: 21.52 kB / 409.2 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.2984, allocations: 21.69 kB / 409.2 MB, free: 428 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.2985, allocations: 133.2 kB / 409.3 MB, free: 332 kB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2985, allocations: 4.906 kB / 409.3 MB, free: 328 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.2988, allocations: 78.14 kB / 409.4 MB, free: 312 kB / 318.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.001469/0.3003, allocations: 1.236 MB / 410.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.3014, allocations: 0.6572 MB / 411.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3014, allocations: 1.438 kB / 411.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.3019, allocations: 367.3 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/0.3026, allocations: 151.6 kB / 411.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/0.3074, allocations: 3.36 MB / 415.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.3075, allocations: 142.3 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000245/0.3078, allocations: 53.94 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3079, allocations: 65.45 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3079, allocations: 4 kB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.3452, allocations: 7.576 MB / 423 MB, free: 7.324 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.17, allocations: 8.062 kB / 423 MB, free: 7.316 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.633020559325814]