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.001713/0.001713, allocations: 77.78 kB / 21.25 MB, free: 0.5469 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.001839/0.001839, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.408/1.408, allocations: 177.1 MB / 204.7 MB, free: 8.984 MB / 190.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.001849/0.001849, allocations: 61.67 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.1015, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003761/0.1052, allocations: 2.286 MB / 381.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1066, allocations: 0.6933 MB / 381.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1067, allocations: 7.938 kB / 381.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.1069, allocations: 35.7 kB / 381.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.107, allocations: 47.52 kB / 382 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.1074, allocations: 115.7 kB / 382.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.1078, allocations: 267 kB / 382.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.108, allocations: 71.62 kB / 382.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.1083, allocations: 123.6 kB / 382.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.1085, allocations: 107.5 kB / 382.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.1086, allocations: 20 kB / 382.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.326e-05/0.1087, allocations: 24 kB / 382.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.1087, allocations: 59.77 kB / 382.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.1089, allocations: 99.53 kB / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.1093, allocations: 286.9 kB / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1093, allocations: 0 / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1093, allocations: 0 / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1093, allocations: 0 / 383.1 MB, free: 11.23 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.001222/0.1106, allocations: 0.6039 MB / 383.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1106, allocations: 15.98 kB / 383.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.1108, allocations: 44.73 kB / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.1112, allocations: 178.2 kB / 384 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.1113, allocations: 83.73 kB / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.1113, allocations: 16.38 kB / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.112, allocations: 349.8 kB / 384.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.112, allocations: 0 / 384.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.1121, allocations: 12 kB / 384.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.1121, allocations: 4 kB / 384.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005758/0.1127, allocations: 275.7 kB / 384.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.114, allocations: 0.6434 MB / 385.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.1147, allocations: 334.6 kB / 385.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004695/0.1152, allocations: 252.4 kB / 385.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1152, allocations: 7.938 kB / 385.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006586/0.1158, allocations: 424.2 kB / 386.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.1158, allocations: 0 / 386.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001414/0.1172, allocations: 0.7308 MB / 387.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.1174, allocations: 203.9 kB / 387.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1176, allocations: 182.4 kB / 387.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.1177, allocations: 37.7 kB / 387.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1178, allocations: 128.9 kB / 387.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/0.1179, allocations: 91.36 kB / 387.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.118, allocations: 62.03 kB / 387.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1181, allocations: 334.8 kB / 388.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.1184, allocations: 201.7 kB / 388.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.1188, allocations: 294.1 kB / 388.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.1194, allocations: 417.4 kB / 389 MB, free: 4.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.1194, allocations: 0 / 389 MB, free: 4.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008176/0.1202, allocations: 0.5378 MB / 389.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.08e-05/0.1203, allocations: 97.09 kB / 389.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1203, allocations: 4 kB / 389.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1203, allocations: 3.938 kB / 389.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.1205, allocations: 39.91 kB / 389.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1206, allocations: 7.938 kB / 389.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.1207, allocations: 43.92 kB / 389.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.1208, allocations: 12 kB / 389.7 MB, free: 4.102 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.0002382/0.121, allocations: 227.8 kB / 389.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.1211, allocations: 35.84 kB / 390 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.1211, allocations: 18.66 kB / 390 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1211, allocations: 3.938 kB / 390 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1211, allocations: 4 kB / 390 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1211, allocations: 0 / 390 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.1226, allocations: 0.9035 MB / 390.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1226, allocations: 3.984 kB / 390.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.1227, allocations: 31.95 kB / 390.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1227, allocations: 3.938 kB / 390.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.1228, allocations: 8 kB / 391 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1228, allocations: 0 / 391 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1228, allocations: 0 / 391 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.1238, allocations: 0.6902 MB / 391.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.1238, allocations: 15.89 kB / 391.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.1239, allocations: 16 kB / 391.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.1241, allocations: 19.98 kB / 391.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.1242, allocations: 27.91 kB / 391.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.1242, allocations: 8 kB / 391.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1243, allocations: 140.2 kB / 391.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1243, allocations: 0 / 391.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004205/0.1248, allocations: 75.94 kB / 391.9 MB, free: 1.746 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.0001688/0.1249, allocations: 125.6 kB / 392.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009507/0.1259, allocations: 0.6628 MB / 392.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1259, allocations: 0 / 392.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.1264, allocations: 362 kB / 393.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.1272, allocations: 151.5 kB / 393.2 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1284, allocations: 0.6101 MB / 393.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.1285, allocations: 133.7 kB / 394 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.1287, allocations: 53.89 kB / 394 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.1287, allocations: 20.5 kB / 394 MB, free: 15.48 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1287, allocations: 0 / 394 MB, free: 15.48 MB / 366.1 MB Notification: Performance of Templates: time 0.009071/0.1378, allocations: 4.551 MB / 398.6 MB, free: 11.02 MB / 366.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 -s ida -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/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_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.5027191010303795]