Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001398/0.001398, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001532/0.001532, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.5 MB / 255.4 MB, free: 15.17 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-beta.om/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: 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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 71.83 kB / 374.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1116, allocations: 53.31 MB / 428.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004138/0.1157, allocations: 2.398 MB / 430.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1174, allocations: 0.7477 MB / 431.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1175, allocations: 7.938 kB / 431.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.1177, allocations: 31.72 kB / 431.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.1178, allocations: 51.48 kB / 431.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.1183, allocations: 111.7 kB / 431.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.1186, allocations: 263 kB / 431.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.1189, allocations: 87.03 kB / 431.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.1192, allocations: 115.7 kB / 431.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.1193, allocations: 119.5 kB / 432 MB, free: 428 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.1194, allocations: 20 kB / 432 MB, free: 408 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.836e-05/0.1195, allocations: 24 kB / 432 MB, free: 384 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.1195, allocations: 59.83 kB / 432.1 MB, free: 324 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.1197, allocations: 123.3 kB / 432.2 MB, free: 200 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2466/0.3663, allocations: 285.2 kB / 432.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3663, allocations: 0 / 432.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3663, allocations: 0 / 432.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.3663, allocations: 0 / 432.5 MB, free: 8.707 MB / 350.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.001175/0.3675, allocations: 0.6702 MB / 433.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3675, allocations: 12.03 kB / 433.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.3678, allocations: 39.34 kB / 433.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.3681, allocations: 247 kB / 433.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.3e-05/0.3682, allocations: 52.98 kB / 433.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.3682, allocations: 17.62 kB / 433.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005853/0.3688, allocations: 264.5 kB / 433.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3688, allocations: 3.062 kB / 433.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.3688, allocations: 10.28 kB / 433.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3688, allocations: 3.562 kB / 433.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.3693, allocations: 203.5 kB / 434 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.3705, allocations: 0.7543 MB / 434.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.371, allocations: 262.2 kB / 435 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.3714, allocations: 187.3 kB / 435.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3715, allocations: 2.188 kB / 435.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/0.3719, allocations: 323.4 kB / 435.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/0.3719, allocations: 0 / 435.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001182/0.3731, allocations: 0.5753 MB / 436.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.3732, allocations: 201.7 kB / 436.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3733, allocations: 184.7 kB / 436.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3734, allocations: 40.19 kB / 436.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.3734, allocations: 136.4 kB / 436.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.718e-05/0.3735, allocations: 86.95 kB / 436.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/0.3736, allocations: 64.09 kB / 436.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.281e-05/0.3737, allocations: 336.7 kB / 437.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.3739, allocations: 106.5 kB / 437.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.3741, allocations: 175.2 kB / 437.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/0.3746, allocations: 408.2 kB / 437.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3746, allocations: 3.938 kB / 437.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007048/0.3754, allocations: 442.1 kB / 438.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.587e-05/0.3754, allocations: 95.09 kB / 438.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3754, allocations: 2.844 kB / 438.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.3755, allocations: 7.312 kB / 438.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.3756, allocations: 44.48 kB / 438.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3757, allocations: 6.656 kB / 438.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.3759, allocations: 37.19 kB / 438.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.3759, allocations: 9.594 kB / 438.4 MB, free: 5.871 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.0002098/0.3761, allocations: 242.5 kB / 438.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.3761, allocations: 27.27 kB / 438.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.3762, allocations: 29.38 kB / 438.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3762, allocations: 2.969 kB / 438.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3762, allocations: 0 / 438.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3762, allocations: 1.266 kB / 438.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.3776, allocations: 0.937 MB / 439.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3776, allocations: 0 / 439.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.3777, allocations: 25.94 kB / 439.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3777, allocations: 1.344 kB / 439.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.3778, allocations: 11.33 kB / 439.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3778, allocations: 2.688 kB / 439.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3778, allocations: 4.031 kB / 439.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009686/0.3787, allocations: 0.621 MB / 440.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.3788, allocations: 109.1 kB / 440.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.3788, allocations: 15.95 kB / 440.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.3791, allocations: 19.8 kB / 440.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.3792, allocations: 24.55 kB / 440.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.3792, allocations: 10.08 kB / 440.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.944e-05/0.3793, allocations: 129.7 kB / 440.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3793, allocations: 0 / 440.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.3797, allocations: 77.94 kB / 440.7 MB, free: 4.816 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.0001645/0.3798, allocations: 129.9 kB / 440.8 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008572/0.3807, allocations: 0.5253 MB / 441.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3807, allocations: 0 / 441.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004432/0.3811, allocations: 320 kB / 441.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007557/0.3819, allocations: 145.6 kB / 441.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.383, allocations: 0.5597 MB / 442.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.3832, allocations: 0.7481 MB / 443.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.3833, allocations: 21.94 kB / 443.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3833, allocations: 0 / 443.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of Templates: time 0.006742/0.39, allocations: 3.145 MB / 446.3 MB, free: 2.965 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.339850459014997]