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.001747/0.001747, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002415/0.002415, allocations: 211.8 kB / 24.54 MB, free: 4.02 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.522/1.522, allocations: 230.3 MB / 258 MB, free: 8.219 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: 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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.89 kB / 378.8 MB, free: 2.77 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3299, allocations: 53.37 MB / 432.1 MB, free: 7.07 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004148/0.334, allocations: 2.408 MB / 434.5 MB, free: 4.652 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001484/0.3355, allocations: 0.7517 MB / 435.3 MB, free: 3.895 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.3356, allocations: 7.938 kB / 435.3 MB, free: 3.887 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.3358, allocations: 23.72 kB / 435.3 MB, free: 3.863 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.3359, allocations: 63.48 kB / 435.4 MB, free: 3.801 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.3363, allocations: 107.7 kB / 435.5 MB, free: 3.695 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003361/0.3366, allocations: 263 kB / 435.7 MB, free: 3.438 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.3368, allocations: 80.34 kB / 435.8 MB, free: 3.355 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.3371, allocations: 127.6 kB / 435.9 MB, free: 3.23 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.3372, allocations: 115.5 kB / 436.1 MB, free: 3.117 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.3373, allocations: 24 kB / 436.1 MB, free: 3.094 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.3374, allocations: 24 kB / 436.1 MB, free: 3.07 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.3374, allocations: 51.84 kB / 436.2 MB, free: 3.02 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.3376, allocations: 131.3 kB / 436.3 MB, free: 2.891 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.338, allocations: 280.5 kB / 436.6 MB, free: 2.621 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.338, allocations: 0 / 436.6 MB, free: 2.621 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.613e-06/0.338, allocations: 0 / 436.6 MB, free: 2.621 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.695e-06/0.338, allocations: 0 / 436.6 MB, free: 2.621 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.001103/0.3391, allocations: 0.6001 MB / 437.2 MB, free: 1.973 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3391, allocations: 12.03 kB / 437.2 MB, free: 1.961 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.3393, allocations: 40.73 kB / 437.2 MB, free: 1.922 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.3397, allocations: 190.1 kB / 437.4 MB, free: 1.711 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.275e-05/0.3398, allocations: 58.03 kB / 437.5 MB, free: 1.648 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.3398, allocations: 20.38 kB / 437.5 MB, free: 1.629 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.3404, allocations: 260.3 kB / 437.7 MB, free: 1.367 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3404, allocations: 0 / 437.7 MB, free: 1.367 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.3405, allocations: 4 kB / 437.7 MB, free: 1.363 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3405, allocations: 4 kB / 437.7 MB, free: 1.359 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005693/0.341, allocations: 204.3 kB / 437.9 MB, free: 1.16 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.3425, allocations: 0.7282 MB / 438.7 MB, free: 384 kB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.3431, allocations: 259.2 kB / 438.9 MB, free: 112 kB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/0.3435, allocations: 184.5 kB / 439.1 MB, free: 15.93 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3436, allocations: 4 kB / 439.1 MB, free: 15.93 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005722/0.3441, allocations: 312.3 kB / 439.4 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=31): time 1.704e-06/0.3441, allocations: 0 / 439.4 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of matching and sorting (n=31): time 0.001315/0.3455, allocations: 0.5949 MB / 440 MB, free: 14.98 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/0.3456, allocations: 203.9 kB / 440.2 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.3458, allocations: 178.7 kB / 440.4 MB, free: 14.55 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.3459, allocations: 37.7 kB / 440.4 MB, free: 14.5 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.346, allocations: 140.8 kB / 440.5 MB, free: 14.36 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.282e-05/0.3461, allocations: 87.36 kB / 440.6 MB, free: 14.28 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3462, allocations: 62.03 kB / 440.7 MB, free: 14.21 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001542/0.3463, allocations: 338.8 kB / 441 MB, free: 13.87 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.3466, allocations: 108.6 kB / 441.1 MB, free: 13.76 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.3469, allocations: 171.3 kB / 441.3 MB, free: 13.57 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/0.3475, allocations: 417.4 kB / 441.7 MB, free: 13.12 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3475, allocations: 0 / 441.7 MB, free: 13.12 MB / 350.1 MB
Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007535/0.3483, allocations: 437.3 kB / 442.1 MB, free: 12.67 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/0.3483, allocations: 101.2 kB / 442.2 MB, free: 12.55 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3483, allocations: 3.938 kB / 442.2 MB, free: 12.55 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3484, allocations: 4 kB / 442.2 MB, free: 12.54 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.3486, allocations: 39.91 kB / 442.3 MB, free: 12.5 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.3486, allocations: 4 kB / 442.3 MB, free: 12.5 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3488, allocations: 35.83 kB / 442.3 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.3488, allocations: 12 kB / 442.3 MB, free: 12.45 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.0002498/0.349, allocations: 243.7 kB / 442.6 MB, free: 12.2 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.3491, allocations: 27.86 kB / 442.6 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.3491, allocations: 22.53 kB / 442.6 MB, free: 12.14 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3491, allocations: 4 kB / 442.6 MB, free: 12.14 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3491, allocations: 3.984 kB / 442.6 MB, free: 12.14 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3491, allocations: 0 / 442.6 MB, free: 12.14 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.3507, allocations: 0.9113 MB / 443.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3507, allocations: 4 kB / 443.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.3508, allocations: 19.98 kB / 443.6 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3508, allocations: 0 / 443.6 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.3509, allocations: 12.03 kB / 443.6 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.3509, allocations: 11.92 kB / 443.6 MB, free: 11.11 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3509, allocations: 0 / 443.6 MB, free: 11.11 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.352, allocations: 0.6184 MB / 444.2 MB, free: 10.46 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.3521, allocations: 23.8 kB / 444.2 MB, free: 10.44 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.3521, allocations: 16.17 kB / 444.2 MB, free: 10.43 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.3524, allocations: 23.98 kB / 444.3 MB, free: 10.4 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.3525, allocations: 27.89 kB / 444.3 MB, free: 10.38 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.3525, allocations: 12 kB / 444.3 MB, free: 10.36 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001269/0.3526, allocations: 131.2 kB / 444.4 MB, free: 10.23 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.3526, allocations: 4 kB / 444.4 MB, free: 10.23 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003653/0.353, allocations: 71.98 kB / 444.5 MB, free: 10.16 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.0001892/0.3532, allocations: 137.2 kB / 444.6 MB, free: 10.02 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009369/0.3541, allocations: 0.5241 MB / 445.2 MB, free: 9.461 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3541, allocations: 0 / 445.2 MB, free: 9.461 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000522/0.3546, allocations: 317.4 kB / 445.5 MB, free: 9.129 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.3554, allocations: 142.3 kB / 445.6 MB, free: 9 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.3564, allocations: 0.5291 MB / 446.1 MB, free: 8.441 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.3569, allocations: 0.7523 MB / 446.9 MB, free: 7.664 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001655/0.357, allocations: 49.89 kB / 446.9 MB, free: 7.609 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.3571, allocations: 23.44 kB / 447 MB, free: 7.586 MB / 350.1 MB
Notification: Performance of SimCode: time 6.01e-07/0.3571, allocations: 0 / 447 MB, free: 7.586 MB / 350.1 MB
Notification: Performance of Templates: time 0.009583/0.3667, allocations: 4.458 MB / 451.4 MB, free: 3.184 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660]
(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) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/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/jenkins/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: 4.765137135051191]