Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001623/0.001623, allocations: 106.1 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002067/0.002067, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 59.69 kB / 306.6 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1133, allocations: 50.52 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004954/0.1183, allocations: 2.433 MB / 359.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1202, allocations: 0.7401 MB / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.1204, allocations: 3.938 kB / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.1207, allocations: 19.84 kB / 360.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.121, allocations: 59.55 kB / 360.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.1216, allocations: 83.91 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005431/0.1221, allocations: 263 kB / 360.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.1225, allocations: 115 kB / 360.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.1228, allocations: 123.6 kB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.1231, allocations: 111.6 kB / 361 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.1232, allocations: 27.94 kB / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.916e-05/0.1233, allocations: 24 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.1234, allocations: 55.84 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.1235, allocations: 119.4 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.124, allocations: 279.4 kB / 361.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.124, allocations: 4 kB / 361.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.124, allocations: 0 / 361.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.1241, allocations: 0 / 361.5 MB, free: 9.848 MB / 302.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.001449/0.1255, allocations: 0.6794 MB / 362.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.1256, allocations: 8.031 kB / 362.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.437e-05/0.1257, allocations: 50.73 kB / 362.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.1259, allocations: 40.64 kB / 362.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.1263, allocations: 239.9 kB / 362.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.861e-05/0.1264, allocations: 54.2 kB / 362.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.1265, allocations: 16.38 kB / 362.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/0.1272, allocations: 271.8 kB / 362.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1273, allocations: 0 / 362.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.1273, allocations: 8 kB / 362.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.1273, allocations: 7.938 kB / 362.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.1279, allocations: 196.3 kB / 363.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.1296, allocations: 0.764 MB / 363.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006618/0.1303, allocations: 294.6 kB / 364.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.1308, allocations: 229 kB / 364.3 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.1308, allocations: 3.984 kB / 364.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006336/0.1315, allocations: 316.3 kB / 364.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.1315, allocations: 0 / 364.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.00137/0.1329, allocations: 0.5644 MB / 365.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/0.1331, allocations: 203.9 kB / 365.4 MB, free: 5.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.1333, allocations: 190.6 kB / 365.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.1334, allocations: 37.69 kB / 365.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.1335, allocations: 136.8 kB / 365.8 MB, free: 5.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.754e-05/0.1336, allocations: 78.94 kB / 365.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.1338, allocations: 70.02 kB / 365.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1339, allocations: 338.8 kB / 366.2 MB, free: 4.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.1342, allocations: 108.6 kB / 366.4 MB, free: 4.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.1345, allocations: 175.3 kB / 366.5 MB, free: 4.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.1351, allocations: 409.4 kB / 366.9 MB, free: 4.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1351, allocations: 3.938 kB / 366.9 MB, free: 4.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007227/0.1358, allocations: 433.6 kB / 367.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.789e-05/0.1359, allocations: 103.8 kB / 367.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1359, allocations: 0 / 367.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1359, allocations: 4 kB / 367.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1362, allocations: 47.91 kB / 367.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1362, allocations: 7.938 kB / 367.5 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.1364, allocations: 43.77 kB / 367.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.1364, allocations: 12 kB / 367.6 MB, free: 3.348 MB / 302.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.0002354/0.1367, allocations: 232.9 kB / 367.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.1367, allocations: 31.73 kB / 367.8 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.1368, allocations: 22.66 kB / 367.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.1368, allocations: 7.984 kB / 367.9 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1368, allocations: 0 / 367.9 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1368, allocations: 0 / 367.9 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.1384, allocations: 0.9357 MB / 368.8 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1384, allocations: 0 / 368.8 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1385, allocations: 27.91 kB / 368.8 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1385, allocations: 0 / 368.8 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.1386, allocations: 12 kB / 368.8 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1386, allocations: 0 / 368.8 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1386, allocations: 0 / 368.8 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.1395, allocations: 0.6136 MB / 369.4 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.1396, allocations: 96.86 kB / 369.5 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.1397, allocations: 23.98 kB / 369.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.1399, allocations: 16.17 kB / 369.6 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.14, allocations: 27.91 kB / 369.6 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.1401, allocations: 19.88 kB / 369.6 MB, free: 1.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1402, allocations: 135.2 kB / 369.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1402, allocations: 0 / 369.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.1406, allocations: 75.84 kB / 369.8 MB, free: 0.9414 MB / 302.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.1661/0.3067, allocations: 1.178 MB / 371 MB, free: 20.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.308, allocations: 0.5645 MB / 371.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.308, allocations: 3.312 kB / 371.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.3086, allocations: 397.6 kB / 372 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008186/0.3094, allocations: 140.5 kB / 372.1 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.3137, allocations: 2.998 MB / 375.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.314, allocations: 0.7419 MB / 375.8 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000231/0.3142, allocations: 54.52 kB / 375.9 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.3143, allocations: 71.19 kB / 376 MB, free: 17.39 MB / 302.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3143, allocations: 0 / 376 MB, free: 17.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.3351, allocations: 6.354 MB / 382.3 MB, free: 16.51 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/0.3355, allocations: 204.4 kB / 382.5 MB, free: 16.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.362, allocations: 0 / 382.5 MB, free: 16.25 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches