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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001218/0.001218, allocations: 105.2 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2499, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003074/0.253, allocations: 2.427 MB / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2542, allocations: 0.7284 MB / 410.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.2543, allocations: 3.938 kB / 410.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.2545, allocations: 23.78 kB / 410.2 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.929e-05/0.2546, allocations: 45 kB / 410.3 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.2549, allocations: 82.92 kB / 410.4 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.2551, allocations: 243 kB / 410.6 MB, free: 24.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.2553, allocations: 102.9 kB / 410.7 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.2555, allocations: 107.6 kB / 410.8 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.2557, allocations: 111.6 kB / 410.9 MB, free: 23.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.2557, allocations: 16 kB / 410.9 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.184e-05/0.2558, allocations: 20 kB / 410.9 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.2559, allocations: 51.83 kB / 411 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.256, allocations: 115.3 kB / 411.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.2562, allocations: 268.6 kB / 411.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2563, allocations: 0 / 411.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2563, allocations: 0 / 411.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.2563, allocations: 0 / 411.4 MB, free: 23.48 MB / 298.7 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.0008821/0.2572, allocations: 0.6718 MB / 412 MB, free: 22.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2572, allocations: 12.53 kB / 412.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.2574, allocations: 36.64 kB / 412.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.2576, allocations: 240.6 kB / 412.3 MB, free: 22.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.574e-05/0.2577, allocations: 46.27 kB / 412.4 MB, free: 22.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.2577, allocations: 24.38 kB / 412.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.2583, allocations: 264 kB / 412.6 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2583, allocations: 0 / 412.6 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.2583, allocations: 4 kB / 412.7 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2583, allocations: 4 kB / 412.7 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.2588, allocations: 204.3 kB / 412.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.2598, allocations: 0.7563 MB / 413.6 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.2603, allocations: 298.2 kB / 413.9 MB, free: 20.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.2607, allocations: 232.9 kB / 414.1 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.2607, allocations: 0 / 414.1 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004018/0.2611, allocations: 312.3 kB / 414.4 MB, free: 20.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.492e-06/0.2611, allocations: 0 / 414.4 MB, free: 20.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009435/0.2621, allocations: 0.5721 MB / 415 MB, free: 19.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.2622, allocations: 203.8 kB / 415.2 MB, free: 19.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2623, allocations: 186.3 kB / 415.4 MB, free: 19.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.2623, allocations: 41.69 kB / 415.4 MB, free: 19.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.2624, allocations: 128.7 kB / 415.6 MB, free: 18.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.2624, allocations: 83.02 kB / 415.6 MB, free: 18.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.2625, allocations: 73.86 kB / 415.7 MB, free: 18.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.491e-05/0.2626, allocations: 342.8 kB / 416 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.2628, allocations: 108.6 kB / 416.1 MB, free: 18.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.263, allocations: 175.3 kB / 416.3 MB, free: 18.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.2634, allocations: 404 kB / 416.7 MB, free: 17.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2634, allocations: 4.031 kB / 416.7 MB, free: 17.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005479/0.264, allocations: 442.2 kB / 417.2 MB, free: 17.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.264, allocations: 93.09 kB / 417.2 MB, free: 17.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2641, allocations: 7.938 kB / 417.2 MB, free: 17.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2641, allocations: 0 / 417.2 MB, free: 17.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.2643, allocations: 40.2 kB / 417.3 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2643, allocations: 7.984 kB / 417.3 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.2644, allocations: 39.72 kB / 417.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.2645, allocations: 11.98 kB / 417.3 MB, free: 17.06 MB / 298.7 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.000169/0.2647, allocations: 233.3 kB / 417.6 MB, free: 16.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.2647, allocations: 31.72 kB / 417.6 MB, free: 16.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.2648, allocations: 26.58 kB / 417.6 MB, free: 16.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2648, allocations: 0 / 417.6 MB, free: 16.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2648, allocations: 0 / 417.6 MB, free: 16.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2648, allocations: 0 / 417.6 MB, free: 16.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.266, allocations: 0.9396 MB / 418.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.266, allocations: 0 / 418.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.985e-05/0.2661, allocations: 19.98 kB / 418.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2661, allocations: 0 / 418.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/0.2662, allocations: 20.02 kB / 418.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2662, allocations: 0 / 418.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2662, allocations: 0 / 418.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.2674, allocations: 1.372 MB / 420 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.2674, allocations: 104.8 kB / 420.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.2675, allocations: 19.92 kB / 420.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.2677, allocations: 19.98 kB / 420.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.2678, allocations: 27.97 kB / 420.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.2678, allocations: 8 kB / 420.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.949e-05/0.2679, allocations: 140.2 kB / 420.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2679, allocations: 0 / 420.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004139/0.2684, allocations: 75.94 kB / 420.4 MB, free: 13.85 MB / 298.7 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.0001516/0.2685, allocations: 129 kB / 420.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007017/0.2692, allocations: 0.5379 MB / 421 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.2692, allocations: 0 / 421 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.2696, allocations: 401.3 kB / 421.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.2703, allocations: 134.8 kB / 421.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000968/0.2713, allocations: 0.807 MB / 422.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.2714, allocations: 0.7487 MB / 423.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.2716, allocations: 53.89 kB / 423.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.2717, allocations: 19.44 kB / 423.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2717, allocations: 7.875 kB / 423.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of Templates: time 0.00628/0.2779, allocations: 4.154 MB / 427.3 MB, free: 6.789 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches