Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001223/0.001223, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 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.001422/0.001422, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2389, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003896/0.2428, allocations: 2.268 MB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2442, allocations: 0.7128 MB / 435.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.2443, allocations: 4 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.2445, allocations: 27.66 kB / 435.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.2446, allocations: 59.5 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.2451, allocations: 107.7 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.2455, allocations: 267 kB / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.2457, allocations: 80.02 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.246, allocations: 131.5 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.2461, allocations: 107.6 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.2462, allocations: 24 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.2462, allocations: 28 kB / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.2463, allocations: 59.77 kB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.2464, allocations: 99.58 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.2468, allocations: 285.8 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2468, allocations: 4 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2468, allocations: 3.938 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2468, allocations: 0 / 436.6 MB, free: 2.438 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.001068/0.2479, allocations: 0.5962 MB / 437.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2479, allocations: 8.031 kB / 437.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.2481, allocations: 44.73 kB / 437.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.2485, allocations: 178.2 kB / 437.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.741e-05/0.2486, allocations: 83.73 kB / 437.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.2486, allocations: 20.38 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.2493, allocations: 361.3 kB / 437.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2493, allocations: 0 / 437.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.2493, allocations: 8 kB / 437.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2493, allocations: 4 kB / 437.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.2499, allocations: 271.7 kB / 438.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.2512, allocations: 0.639 MB / 438.8 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/0.2519, allocations: 330.6 kB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004837/0.2523, allocations: 262.2 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.2524, allocations: 0 / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006242/0.253, allocations: 421.4 kB / 439.8 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.253, allocations: 0 / 439.8 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00139/0.2544, allocations: 0.7274 MB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.2545, allocations: 203.8 kB / 440.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.2547, allocations: 186.4 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.2547, allocations: 41.69 kB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2548, allocations: 132.9 kB / 441 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.724e-05/0.2549, allocations: 83.36 kB / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.255, allocations: 70.02 kB / 441.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2552, allocations: 334.8 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.2555, allocations: 205.7 kB / 441.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.2559, allocations: 293.8 kB / 442 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005887/0.2564, allocations: 419.3 kB / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2564, allocations: 4 kB / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008017/0.2572, allocations: 0.5248 MB / 442.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.947e-05/0.2573, allocations: 97.09 kB / 443 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2573, allocations: 3.938 kB / 443 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2574, allocations: 12.03 kB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.2576, allocations: 43.91 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2576, allocations: 4 kB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.2577, allocations: 31.83 kB / 443.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.2578, allocations: 12.19 kB / 443.1 MB, free: 11.32 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.0002417/0.258, allocations: 243.7 kB / 443.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.2581, allocations: 31.8 kB / 443.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.2581, allocations: 22.66 kB / 443.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.2581, allocations: 7.938 kB / 443.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2581, allocations: 0 / 443.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2581, allocations: 3.984 kB / 443.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.2596, allocations: 0.8997 MB / 444.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2596, allocations: 0 / 444.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.2597, allocations: 19.98 kB / 444.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.2597, allocations: 3.938 kB / 444.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.2598, allocations: 11.98 kB / 444.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2598, allocations: 4 kB / 444.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.2598, allocations: 7.984 kB / 444.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.2608, allocations: 0.6823 MB / 445.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2608, allocations: 19.84 kB / 445.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.2609, allocations: 12 kB / 445.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.2611, allocations: 27.97 kB / 445.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.2612, allocations: 23.92 kB / 445.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.2612, allocations: 15.98 kB / 445.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.2614, allocations: 136.3 kB / 445.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2614, allocations: 0 / 445.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.2617, allocations: 67.94 kB / 445.4 MB, free: 8.961 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.000161/0.2619, allocations: 137.2 kB / 445.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009688/0.2628, allocations: 0.6611 MB / 446.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2628, allocations: 0 / 446.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.2633, allocations: 362 kB / 446.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.2641, allocations: 153 kB / 446.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2651, allocations: 0.5989 MB / 447.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.2652, allocations: 137.6 kB / 447.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.2654, allocations: 46.28 kB / 447.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.2654, allocations: 19.44 kB / 447.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2654, allocations: 0 / 447.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of Templates: time 0.009017/0.2745, allocations: 4.755 MB / 452.2 MB, free: 2.055 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 4.507351181993727]