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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 204 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.5 MB / 257.4 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 71.89 kB / 377.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2477, allocations: 53.41 MB / 431.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003902/0.2516, allocations: 2.272 MB / 433.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.253, allocations: 0.6973 MB / 434.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.2531, allocations: 7.938 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.2533, allocations: 31.7 kB / 434.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.2534, allocations: 59.48 kB / 434.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.2538, allocations: 111.6 kB / 434.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.2541, allocations: 263.1 kB / 434.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.2543, allocations: 65.3 kB / 434.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.2546, allocations: 139.6 kB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.2548, allocations: 95.53 kB / 434.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.2548, allocations: 24 kB / 434.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-05/0.2549, allocations: 28 kB / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.255, allocations: 47.84 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.2551, allocations: 111.4 kB / 435.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.2555, allocations: 286.9 kB / 435.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2555, allocations: 0 / 435.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2555, allocations: 0 / 435.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.2555, allocations: 0 / 435.4 MB, free: 2.176 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.001074/0.2566, allocations: 0.6001 MB / 436 MB, free: 1.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2566, allocations: 15.92 kB / 436 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.145e-05/0.2567, allocations: 62.72 kB / 436 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.2569, allocations: 36.75 kB / 436.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.2572, allocations: 186.9 kB / 436.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/0.2573, allocations: 79.75 kB / 436.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.2573, allocations: 20.38 kB / 436.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.258, allocations: 353.2 kB / 436.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.258, allocations: 4 kB / 436.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.258, allocations: 4 kB / 436.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.258, allocations: 4 kB / 436.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005385/0.2585, allocations: 279.6 kB / 437 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.2599, allocations: 0.6776 MB / 437.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006349/0.2605, allocations: 326.6 kB / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/0.261, allocations: 267.7 kB / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.261, allocations: 4 kB / 438.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005899/0.2616, allocations: 413.4 kB / 438.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.2616, allocations: 0 / 438.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001305/0.2629, allocations: 0.7308 MB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.263, allocations: 203.9 kB / 439.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.2632, allocations: 186.7 kB / 439.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.2632, allocations: 33.7 kB / 439.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.2633, allocations: 140.8 kB / 439.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/0.2634, allocations: 87.36 kB / 440 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.2635, allocations: 66.03 kB / 440.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2637, allocations: 338.8 kB / 440.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.264, allocations: 197.7 kB / 440.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.2643, allocations: 290.1 kB / 440.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.2649, allocations: 417.5 kB / 441.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2649, allocations: 0 / 441.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008005/0.2657, allocations: 0.5418 MB / 441.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/0.2658, allocations: 101 kB / 441.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2658, allocations: 0 / 441.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2658, allocations: 4 kB / 441.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.266, allocations: 35.92 kB / 442 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.266, allocations: 0 / 442 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.2662, allocations: 47.64 kB / 442 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.2662, allocations: 12 kB / 442 MB, free: 10.93 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.0002411/0.2665, allocations: 243.7 kB / 442.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.2665, allocations: 27.8 kB / 442.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.2666, allocations: 26.64 kB / 442.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2666, allocations: 4 kB / 442.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2666, allocations: 0 / 442.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2666, allocations: 0 / 442.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.2681, allocations: 0.946 MB / 443.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2681, allocations: 0 / 443.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.2682, allocations: 23.92 kB / 443.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2682, allocations: 0 / 443.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.2682, allocations: 12 kB / 443.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.2682, allocations: 8.031 kB / 443.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2682, allocations: 0 / 443.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.2693, allocations: 0.6785 MB / 444 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.2693, allocations: 23.78 kB / 444 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.2694, allocations: 20 kB / 444 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.2696, allocations: 27.91 kB / 444.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.2696, allocations: 19.97 kB / 444.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.2697, allocations: 15.94 kB / 444.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.2698, allocations: 136.3 kB / 444.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2698, allocations: 3.938 kB / 444.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.2701, allocations: 79.89 kB / 444.3 MB, free: 8.504 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.001438/0.2716, allocations: 1.234 MB / 445.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.2726, allocations: 0.6702 MB / 446.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2726, allocations: 0 / 446.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005054/0.2731, allocations: 364.8 kB / 446.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.2738, allocations: 148.9 kB / 446.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.2782, allocations: 3.366 MB / 450.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.2784, allocations: 141.6 kB / 450.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.2785, allocations: 49.89 kB / 450.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.2787, allocations: 67.42 kB / 450.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2787, allocations: 0 / 450.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.315, allocations: 7.605 MB / 457.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.39, allocations: 7.719 kB / 458 MB, free: 10.63 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=3.57079e-05 --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) [Timeout 52.5] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.777170856948942]