Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 149.4 kB / 24.25 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.54e-05, allocations: 2.312 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003903/0.003929, allocations: 2.254 MB / 269.6 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.005266, allocations: 0.6464 MB / 270.2 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.547e-05/0.005362, allocations: 4 kB / 270.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.005518, allocations: 27.72 kB / 270.3 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.005644, allocations: 63.42 kB / 270.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.006016, allocations: 87.7 kB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.006394, allocations: 274.9 kB / 270.7 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.006617, allocations: 83.58 kB / 270.8 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.006918, allocations: 167.6 kB / 270.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.007115, allocations: 87.77 kB / 271 MB, free: 2.988 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.007168, allocations: 20 kB / 271 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.007217, allocations: 24 kB / 271.1 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.276e-05/0.0073, allocations: 55.81 kB / 271.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.007442, allocations: 83.77 kB / 271.2 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.007864, allocations: 291.1 kB / 271.5 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.007866, allocations: 0 / 271.5 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.007867, allocations: 4 kB / 271.5 MB, free: 2.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.007872, allocations: 0 / 271.5 MB, free: 2.52 MB / 250.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.001199/0.00907, allocations: 0.5962 MB / 272.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.009106, allocations: 8.922 kB / 272.1 MB, free: 1.863 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.009231, allocations: 48.78 kB / 272.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.009571, allocations: 182.1 kB / 272.3 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.009679, allocations: 75.95 kB / 272.4 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.009725, allocations: 24.38 kB / 272.4 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/0.01043, allocations: 354 kB / 272.7 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.01044, allocations: 192 / 272.7 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.01047, allocations: 12.12 kB / 272.8 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.01048, allocations: 4 kB / 272.8 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008549/0.01134, allocations: 283.6 kB / 273 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.01282, allocations: 0.6319 MB / 273.7 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.01355, allocations: 318.6 kB / 274 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/0.01409, allocations: 271.7 kB / 274.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.01411, allocations: 4 kB / 274.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006661/0.01478, allocations: 409.4 kB / 274.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.422e-06/0.01478, allocations: 0 / 274.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.001545/0.01633, allocations: 0.7457 MB / 275.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.0165, allocations: 203.8 kB / 275.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.01671, allocations: 178.2 kB / 275.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.01676, allocations: 41.7 kB / 275.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.01689, allocations: 136.8 kB / 275.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.14e-05/0.01698, allocations: 83.36 kB / 276 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.01711, allocations: 70.02 kB / 276.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.01731, allocations: 330.8 kB / 276.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.01767, allocations: 201.7 kB / 276.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.0181, allocations: 293.9 kB / 276.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006974/0.0188, allocations: 421.4 kB / 277.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0188, allocations: 0 / 277.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009654/0.01977, allocations: 0.5494 MB / 277.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.9e-05/0.01987, allocations: 101 kB / 278 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01987, allocations: 0 / 278 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.01989, allocations: 4 kB / 278 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.0201, allocations: 39.91 kB / 278 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.02011, allocations: 4 kB / 278 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.02031, allocations: 39.7 kB / 278 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.02034, allocations: 16 kB / 278.1 MB, free: 11.38 MB / 266.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.000276/0.02062, allocations: 239.7 kB / 278.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.0207, allocations: 35.91 kB / 278.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.02076, allocations: 22.66 kB / 278.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.02076, allocations: 0 / 278.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.02076, allocations: 0 / 278.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.02077, allocations: 7.922 kB / 278.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.02239, allocations: 0.8958 MB / 279.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02239, allocations: 0 / 279.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.02251, allocations: 23.92 kB / 279.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.02252, allocations: 4 kB / 279.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.02255, allocations: 16.03 kB / 279.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.02256, allocations: 3.938 kB / 279.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02256, allocations: 0 / 279.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.02399, allocations: 0.6909 MB / 280 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.02404, allocations: 31.72 kB / 280 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.0241, allocations: 16 kB / 280 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.02433, allocations: 23.97 kB / 280.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.02442, allocations: 23.97 kB / 280.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.02445, allocations: 8 kB / 280.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.02459, allocations: 136.2 kB / 280.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02459, allocations: 3.938 kB / 280.2 MB, free: 9.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000357/0.02494, allocations: 75.89 kB / 280.3 MB, free: 8.996 MB / 266.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.0001768/0.02512, allocations: 129.2 kB / 280.4 MB, free: 8.863 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.0262, allocations: 0.6539 MB / 281.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.0262, allocations: 0 / 281.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.0268, allocations: 374.3 kB / 281.5 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/0.02755, allocations: 145.2 kB / 281.6 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.02871, allocations: 0.5801 MB / 282.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.02887, allocations: 138 kB / 282.3 MB, free: 6.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.02903, allocations: 53.89 kB / 282.4 MB, free: 6.777 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.0291, allocations: 24.5 kB / 282.4 MB, free: 6.754 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0291, allocations: 0 / 282.4 MB, free: 6.754 MB / 266.7 MB Notification: Performance of Templates: time 0.009948/0.03905, allocations: 4.526 MB / 286.9 MB, free: 2.328 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.384113435051404]