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.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 3.2.3+maint.om/package.mo", uses=false) 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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 108.4 kB / 17.73 MB, free: 5.188 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.00142/0.00142, allocations: 188.2 kB / 18.67 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 55.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08387/0.08545, allocations: 46.61 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003417/0.0889, allocations: 2.337 MB / 377 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.09009, allocations: 0.7056 MB / 377.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.09021, allocations: 3.938 kB / 377.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.09038, allocations: 35.7 kB / 377.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.0905, allocations: 55.48 kB / 377.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.0908, allocations: 91.77 kB / 377.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.09113, allocations: 263 kB / 378.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.09135, allocations: 123 kB / 378.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.09154, allocations: 107.6 kB / 378.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.09171, allocations: 119.5 kB / 378.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.09177, allocations: 23.94 kB / 378.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.721e-05/0.09182, allocations: 24 kB / 378.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.0919, allocations: 51.83 kB / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.09204, allocations: 115.5 kB / 378.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.09237, allocations: 286.8 kB / 379 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.09238, allocations: 0 / 379 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09239, allocations: 0 / 379 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.0924, allocations: 0 / 379 MB, free: 0.7344 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.1422/0.2346, allocations: 0.6705 MB / 379.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2347, allocations: 11.12 kB / 379.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.2348, allocations: 52.16 kB / 379.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.868e-05/0.2349, allocations: 31.45 kB / 379.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.2352, allocations: 243.7 kB / 380 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.2353, allocations: 49.78 kB / 380 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.2353, allocations: 20.78 kB / 380 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.2359, allocations: 261.2 kB / 380.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2359, allocations: 1.031 kB / 380.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.2359, allocations: 9.891 kB / 380.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2359, allocations: 5.719 kB / 380.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.2364, allocations: 205.7 kB / 380.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.2375, allocations: 0.7549 MB / 381.3 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.2381, allocations: 295.7 kB / 381.6 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/0.2385, allocations: 224.4 kB / 381.8 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.2386, allocations: 2.625 kB / 381.8 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004745/0.239, allocations: 326.1 kB / 382.1 MB, free: 9.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.2391, allocations: 0 / 382.1 MB, free: 9.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001107/0.2402, allocations: 0.5706 MB / 382.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.2402, allocations: 203.9 kB / 382.9 MB, free: 9.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.2404, allocations: 184.6 kB / 383 MB, free: 9.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.2404, allocations: 39.27 kB / 383.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.2405, allocations: 137.3 kB / 383.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.2405, allocations: 80.55 kB / 383.3 MB, free: 9.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/0.2406, allocations: 70.66 kB / 383.4 MB, free: 9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.2407, allocations: 336.6 kB / 383.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.2409, allocations: 107.3 kB / 383.8 MB, free: 8.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.2412, allocations: 174.4 kB / 384 MB, free: 8.621 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004634/0.2416, allocations: 419 kB / 384.4 MB, free: 8.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2417, allocations: 0 / 384.4 MB, free: 8.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006029/0.2423, allocations: 441.9 kB / 384.8 MB, free: 8.258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.2423, allocations: 99.23 kB / 384.9 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2423, allocations: 6.219 kB / 384.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2424, allocations: 2.281 kB / 384.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.2425, allocations: 42.25 kB / 385 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2426, allocations: 7.25 kB / 385 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.2427, allocations: 37.53 kB / 385 MB, free: 8.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.2428, allocations: 9.625 kB / 385 MB, free: 8.141 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.0001624/0.2429, allocations: 244.4 kB / 385.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.243, allocations: 25.23 kB / 385.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.243, allocations: 35.41 kB / 385.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.243, allocations: 1.812 kB / 385.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.243, allocations: 0 / 385.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.2431, allocations: 1.938 kB / 385.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.2442, allocations: 0.9312 MB / 386.2 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2442, allocations: 1.906 kB / 386.2 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.2443, allocations: 22.73 kB / 386.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2443, allocations: 4.156 kB / 386.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.2444, allocations: 10.8 kB / 386.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2444, allocations: 1.922 kB / 386.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2444, allocations: 0 / 386.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.2452, allocations: 0.6143 MB / 386.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.2453, allocations: 99.75 kB / 387 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.2453, allocations: 17.12 kB / 387 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.2455, allocations: 25.64 kB / 387 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.2456, allocations: 23.45 kB / 387.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.2456, allocations: 13.28 kB / 387.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.932e-05/0.2457, allocations: 130.6 kB / 387.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2457, allocations: 0 / 387.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000313/0.2461, allocations: 78.14 kB / 387.3 MB, free: 7.113 MB / 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.001005/0.2471, allocations: 1.184 MB / 388.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007359/0.2478, allocations: 0.5462 MB / 389 MB, free: 5.949 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2478, allocations: 0 / 389 MB, free: 5.949 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00042/0.2482, allocations: 398.3 kB / 389.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.2489, allocations: 139.8 kB / 389.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.2521, allocations: 2.924 MB / 392.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.2523, allocations: 0.7428 MB / 393.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.2525, allocations: 60.3 kB / 393.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/0.2526, allocations: 69.19 kB / 393.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2526, allocations: 0 / 393.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.2801, allocations: 6.522 MB / 399.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/7.98, allocations: 5.016 kB / 399.8 MB, free: 1.441 MB / 318.1 MB (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 --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) 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) Reference file matches